tools/gidlcompilercontext.c tools/gidlcompilercontext.h

2008-02-21  Mark Doffman  <mark.doffman@codethink.co.uk>

    * tools/gidlcompilercontext.c
    * tools/gidlcompilercontext.h
    * tools/gidlcompilerentrynode.c
    * tools/gidlcompilerentrynode.h
    * tools/gidlcompilertypenode.c
    * tools/gidlcompilertypenode.h

    Add code to compile a tree of GIdlNodes to
    a 'C' struct representing the metadata.
    This is to aid cross-compiling. Previously
    the g-idl-compiler created a binary blob with
    data written in the byte order and alignment
    of the tool rather than the intended target.

    Cleaned up and improved by Johan and Robert :-)

WARNING: This commit does not compile. It is a partial change.

svn path=/trunk/; revision=130
This commit is contained in:
Mark Doffman 2008-03-10 17:45:59 +00:00 committed by Johan Dahlin
parent d349902ce6
commit 9713aa96d7

View File

@ -28,6 +28,7 @@
G_BEGIN_DECLS
#define G_IDL_MAGIC "GOBJ\nMETADATA\r\n\032"
#define G_IDL_MAGIC_ESCAPED "GOBJ\\nMETADATA\\r\\n\\032"
enum
{