From aecbfe42243ccd06425f021df6fe8d8d65974db7 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Fri, 3 Jul 2009 11:50:13 -0700 Subject: Moved upb_enum to a proper C file, updated upb_inlinedefs. --- upb_inlinedefs.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'upb_inlinedefs.c') 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" -- cgit v1.2.3