Re: C header to Pascal , what is the type of ENUM?
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.