C API reference
The Genero Report Writer for Swift includes C APIs.
The Swift classes use the C functions defined in the Genero Report Writer C API, located at $GREDIR/lib/swift.
Details about the data structures, files, and functions are provided in the Genero Report Writer C API documentation.
If you need to specify a NULL value for a parameter value, use:
BOOLEAN_NULLfor a BOOLEAN data type.INT_NULLfor an INTEGER data type.Float.nanfor a FLOAT data type.ENUM_NULLfor an enumerated value data type.nilfor all other data types (such as character values).
When you compile a swift application, you must have the -I "$(GREDIR)/lib/swift" -L
"$(GREDIR)/lib/swift" -lgre in Linker options.