summaryrefslogtreecommitdiff
path: root/upb_inlinedefs.c
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2009-07-03 11:50:13 -0700
committerJoshua Haberman <joshua@reverberate.org>2009-07-03 11:50:13 -0700
commitaecbfe42243ccd06425f021df6fe8d8d65974db7 (patch)
treece93d0c7d342895b1603693309ec44b8fe7d80a8 /upb_inlinedefs.c
parent62be5969a14b36e4f3ca336ec57c4627f541a69c (diff)
Moved upb_enum to a proper C file, updated upb_inlinedefs.
Diffstat (limited to 'upb_inlinedefs.c')
-rw-r--r--upb_inlinedefs.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/upb_inlinedefs.c b/upb_inlinedefs.c
index 8f9514a..60863c4 100644
--- a/upb_inlinedefs.c
+++ b/upb_inlinedefs.c
@@ -1,10 +1,19 @@
/*
* upb - a minimalist implementation of protocol buffers.
*
+ * This file, if compiled, will contain standalone (non-inlined) versions of
+ * all inline functions defined in header files. We don't generally use this
+ * file since we use "static inline" for inline functions (which will put a
+ * standalone version of the function in any .o file that needs it, but
+ * compiling this file and dumping the object file will let us inspect how
+ * inline functions are compiled, so we keep it around.
+ *
* Copyright (c) 2009 Joshua Haberman. See LICENSE for details.
*/
#define INLINE
-#include "upb_parse.h"
+#include "upb_context.h"
+#include "upb_enum.h"
#include "upb_msg.h"
+#include "upb_parse.h"
#include "upb_table.h"
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback