[fpc-pascal] cvar external symbol name
Jonas Maebe
jonas at freepascal.org
Thu Nov 21 21:40:30 CET 2019
On 21/11/2019 19:40, Ryan Joseph via fpc-pascal wrote:
> Do cvars not allow external symbol names like functions do? With function I can declare a name but for cvar I'm getting an error.
>
> PyBaseString_Type:PPyTypeObject; cvar; external name 'somename';
The only thing cvar does is to mangle symbol name using the default
C-style name mangling. Specifying an explicit symbol name would just
overwrite whatever effect "cvar" has, so combining both is useless and
rejected.
Jonas
More information about the fpc-pascal
mailing list