[fpc-pascal] Pass type as function parameter

Darius Blaszyk dhkblaszyk at gmail.com
Wed Mar 24 11:00:50 CET 2021


Would it be possible in FPC to pass a type of a variable as a parameter to
a function?


I have legacy C code that does this via a macro. Hopefully, it can be done
so I do not need to change the existing code too badly.


Rgds, Darius
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20210324/30daada2/attachment.htm>

More information about the fpc-pascal mailing list