Re: [fpc-pascal] FPC macros

2014-11-29 Thread leledumbo
> for several Pascal headers for C libraries it would be very nice, when macros defined in the interface section would be globally avaible. It won't, it will be nice for your only particular case (save typing). See point #2 of http://freepascal.org/faq.var#extensionselect > But since they are not

[fpc-pascal] FPC macros

2014-11-29 Thread Tim Blume
Hi, 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: {$DEFINE AI_MATKEY_NAME:='?mat.name',