From 462b26c1cc041a8fa26deb62cf12f1f351a5b2f6 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Wed, 8 Jul 2009 12:06:47 -0700 Subject: Directory restructuring. --- src/upb_inlinedefs.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/upb_inlinedefs.c (limited to 'src/upb_inlinedefs.c') 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" -- cgit v1.2.3