X-Git-Url: https://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/7231d76fbf4ae0b501af648e1216b88714aa7353..38fac18bf81df672821ebbac4130ce41f0a6c61f:/src/treefuncs.def diff --git a/src/treefuncs.def b/src/treefuncs.def index fde15cb..d410772 100644 --- a/src/treefuncs.def +++ b/src/treefuncs.def @@ -1,3 +1,8 @@ +# Run ./generate_treefuncs.pl after modifying this to regenerate +# treefuncs.[ch] + +# These are the parse tree definitions, eliminates typos + HEADER /* for ccode type */ enum { @@ -46,8 +51,9 @@ ENDHEADER CLASS Class STRING otype # this object class type STRING ptype # parent class type - STRING bonobo_x_class # Class for BonoboXObject + STRING bonobo_object_class # Class for BonoboObject STRING chunk_size # if the object should be allocated with mem_chunks + STRINGLIST interfaces # GObject interfaces this class exports NODELIST nodes ENDCLASS @@ -122,7 +128,8 @@ CLASS Method INT ccode_line BOOL vararg INT unique_id # A unique id for new methods - BOOL bonobo_x_func # Function for BonoboXObject + BOOL bonobo_object_func # Function for BonoboObject + STRING interface # interface this belongs to ENDCLASS CLASS Variable @@ -137,3 +144,26 @@ CLASS Variable STRING initializer INT initializer_line ENDCLASS + +CLASS EnumDef + STRING etype + STRING prefix + NODELIST values +ENDCLASS + +CLASS EnumValue + STRING name + STRING value +ENDCLASS + +CLASS Flags + STRING ftype + STRING prefix + STRINGLIST values +ENDCLASS + +CLASS Error + STRING etype + STRING prefix + STRINGLIST values +ENDCLASS