mirror of
https://github.com/protobuf-c/protobuf-c.git
synced 2025-01-14 17:30:07 +08:00
include <limits.h>; comments
git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@328 00440858-1255-0410-a3e6-75ea37f81c3a
This commit is contained in:
parent
ccfedab5d3
commit
4800e0fba0
@ -44,6 +44,7 @@
|
||||
|
||||
#include <stddef.h>
|
||||
#include <assert.h>
|
||||
#include <limits.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
# define PROTOBUF_C_BEGIN_DECLS extern "C" {
|
||||
@ -106,6 +107,7 @@ extern unsigned protobuf_c_minor;
|
||||
# define PROTOBUF_C_API
|
||||
#endif
|
||||
|
||||
|
||||
PROTOBUF_C_BEGIN_DECLS
|
||||
|
||||
typedef enum
|
||||
@ -275,6 +277,8 @@ typedef void (*ProtobufCMessageInit)(ProtobufCMessage *);
|
||||
* otherwise NULL.
|
||||
* 'default_value' is a pointer to a default value for this field,
|
||||
* where allowed.
|
||||
* 'packed' is only for REPEATED fields (it is 0 otherwise); this is if
|
||||
* the repeated fields is marked with the 'packed' options.
|
||||
*/
|
||||
struct _ProtobufCFieldDescriptor
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user