diff options
author | Joshua Haberman <joshua@reverberate.org> | 2011-08-08 16:33:48 -0700 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2011-08-08 16:33:48 -0700 |
commit | 487bfdfc0603ab7bf5fad381f52b8932cbcd355e (patch) | |
tree | d7db8ecbb96f8890e86313153e58edec580337df /upb | |
parent | 6981e468a3234b3f5439dec8178703a6364cfe03 (diff) |
Begin port of Python extension to new APIs.
Diffstat (limited to 'upb')
-rw-r--r-- | upb/def.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -95,7 +95,7 @@ typedef struct _upb_fielddef { struct _upb_accessor_vtbl *accessor; } upb_fielddef; -upb_fielddef *upb_fielddef_new(); +upb_fielddef *upb_fielddef_new(void); void upb_fielddef_ref(upb_fielddef *f); void upb_fielddef_unref(upb_fielddef *f); upb_fielddef *upb_fielddef_dup(upb_fielddef *f); @@ -186,7 +186,7 @@ typedef struct { upb_fielddef *f; } upb_ntof_ent; -upb_msgdef *upb_msgdef_new(); +upb_msgdef *upb_msgdef_new(void); INLINE void upb_msgdef_unref(upb_msgdef *md) { upb_def_unref(UPB_UPCAST(md)); } INLINE void upb_msgdef_ref(upb_msgdef *md) { upb_def_ref(UPB_UPCAST(md)); } @@ -284,7 +284,7 @@ typedef struct { char *str; } upb_iton_ent; -upb_enumdef *upb_enumdef_new(); +upb_enumdef *upb_enumdef_new(void); INLINE void upb_enumdef_ref(upb_enumdef *e) { upb_def_ref(UPB_UPCAST(e)); } INLINE void upb_enumdef_unref(upb_enumdef *e) { upb_def_unref(UPB_UPCAST(e)); } upb_enumdef *upb_enumdef_dup(upb_enumdef *e); |