Am 23.02.2018 um 16:06 schrieb Dennis: > In C > ENUM_BEGIN( RetCode ) TA-Lib has very weird macros. It should expand to "enum class RetCode" (so it's actually C++), making this an int or unsigned int (depending on the compiler). Should be a Longword on >32bit compilers then.
And (MvC will be disappointed if I wouldn't say it): don't translate as a Pascal enum unless you know what you're doing. -- Regards, Martok Ceterum censeo b32079 esse sanandam. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal