NAME
gencls - class interface compiler for Prima core modules
SYNOPSIS
gencls --h --inc --tml -O -I<name> --depend --sayparent filename.cls
DESCRIPTION
Creates header with C macros and structures for Prima core modules object definition.
ARGUMENTS
gencls takes the following arguments:
- --h
-
Generates .h file ( with declarations to be included in many files )
- --inc
-
Generates .inc file ( with declarations to be included in only file )
- -O
-
Turns optimizing algorithm for .inc files on. Algorithm is based on an assumption, that may functions have same list of parameters, therefore same piece of code can be shared. With -O flag on, thunk body is replaced to a call to a function, which name is made up from all method parameters plus result. Actual function is not written in .inc file, but in .tml file. All duplicate declarations from a set of .tml files can be removed and reminder written to a large include file by tmlink utility.
- --tml
-
Generates .tml file. Turns -O automatically on.
- -Idirname
-
Adds a directory to a search path, where the utility searches for .cls files. Can be specified several times.
- --depend
-
Prints out dependencies for a given file.
- --sayparent
-
Prints out the immediate parent of a class inside given file.
AUTHORS
Dmitry Karasik, <dmitry@karasik.eu.org>. Anton Berezin, <tobez@tobez.org>.
SEE ALSO
COPYRIGHT
This program is distributed under the BSD License.