summaryrefslogtreecommitdiff
path: root/src/upb_inlinedefs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/upb_inlinedefs.c')
-rw-r--r--src/upb_inlinedefs.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/upb_inlinedefs.c b/src/upb_inlinedefs.c
new file mode 100644
index 0000000..60863c4
--- /dev/null
+++ b/src/upb_inlinedefs.c
@@ -0,0 +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_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