Re: [jsapigen-devel] Syntax error on example 6 and 7 in the manual
Status: Beta
Brought to you by:
tdz
From: Thomas Z. <td...@us...> - 2010-03-02 16:53:08
|
Hi > It is example 6 and 7 in Writing Interface Descriptions I am having problems with. Argh! This is a stupid bug in the manual. The keywords 'construct' and 'finalize' are always followed by a colon to make their syntax similar to 'function' or 'property' declarations. Also parameters do only have types, but not names. Example 6 should therefore read like this: class my_class { construct : my_class_construct (int) <static>; }; I attached both fixed examples and I'll updated the manual. Thanks for reporting this. Regards, Thomas -- GnuPG: http://tdz.users.sourceforge.net/tdz.asc Fingerprint: 16FF F599 82F8 E5AA 18C6 5220 D9DA D7D4 4EF1 DF08 jsapigen - A free glue-code generator for Mozilla SpiderMonkey. See http://jsapigen.sourceforge.net for more information. |