Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
508 B
24 lines
508 B
13 years ago
|
/*
|
||
|
* upb - a minimalist implementation of protocol buffers.
|
||
|
*
|
||
|
* Copyright (c) 2011 Google Inc. See LICENSE for details.
|
||
|
* Author: Josh Haberman <jhaberman@gmail.com>
|
||
|
*/
|
||
|
|
||
|
#ifndef UPB_PB_GLUE_HPP
|
||
|
#define UPB_PB_GLUE_HPP
|
||
|
|
||
|
#include "upb/upb.hpp"
|
||
|
#include "upb/pb/glue.h"
|
||
|
|
||
|
namespace upb {
|
||
|
|
||
|
bool LoadDescriptorFileIntoSymtab(SymbolTable* s, const char *fname,
|
||
|
Status* status) {
|
||
|
return upb_load_descriptor_file_into_symtab(s, fname, status);
|
||
|
}
|
||
|
|
||
|
} // namespace upb
|
||
|
|
||
|
#endif
|