Op 2019-01-31 om 19:00 schreef Sven Barth via fpc-pascal:
That is because h2pas is unable to handle it, or because fpc is unable to generate the proper code for a c++ parameter by referenceThe former. For the later you'd either use var or constref. Though there'd still be the topic of name mangling... (FPC's cppdecl is not that good yet)
And I guess it should be a simple type, not a smartpointer. _______________________________________________ fpc-pascal maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
