GObject Reference Manual |
---|
In order to help a GObject class developper, one obvious idea is to use some sort of templates for the skeletons. and then run them through a special tool to generate the real C files. GOB (or GOB2) is such a tool. It is a preprocessor which can be used to build GObjects with inline C code so that there is no need to edit the generated C code. The syntax is inspired by Java and Yacc or Lex. The implementation is intentionally kept simple: the inline C code provided by the user is not parsed.