[fpc-pascal] FPC macros
tim2.blume at web.de
Sat Nov 29 15:03:00 CET 2014
for several Pascal headers for C libraries it would be very nice, when
macros defined in the interface section would be globally avaible.
E.g. in Assimp there are macros like this:
#define AI_MATKEY_NAME "?mat.name",0,0
Which I translated like this:
But since they are not avaible in other units, these translation have to
be in an external *.inc file, which have to be included in every unit
want to use these macros. This is quite disgusting imo.
Tim Blume (End)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal