X-Git-Url: http://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/6e77e91bbb048a0ee1a072715c0ce808c169ab38..8cb6370effd9f2dacc6dc9b662a43ea19ee637ac:/doc/gob.1.in diff --git a/doc/gob.1.in b/doc/gob.1.in index afd3bf5..82f31ab 100644 --- a/doc/gob.1.in +++ b/doc/gob.1.in @@ -281,6 +281,21 @@ will fetch a new object, so a fairly standard new method would look like: The generated header file is included as the first file in the .c file, no matter what. This means that you will have to put things that need to be included before that, into an %h{ } section. +.PP +Also the lexer does not actually parse the C code, so I'm sure that some corner +cases or maybe even some not so corner cases of C syntax might confuse gob +completely. If you find any, send me the source that makes it go gaga and I'll +try to make the lexer try to handle it properly, but no promises. +.PP +Gob uses a lot of #define's so sometimes it can confuse your code. One way +to make sure you don't get confused is not to use method names for absolutely +anything else since gob will use defines of the type: +.nf + + #define method_name class_name_method_name + +.fi +For your class code. .SH AUTHOR .PP