> On May 15, 2021, at 10:49 AM, Ryan Joseph <[email protected]> wrote:
>
> Also it looks like ChangeOwnerAndName isn't making the compiler happy.
Sorry for the noise, I figured out it was because the name had spaces. How
should I make the name then? I'm doing this for now which is certainly unique
but it's not standard.
newtype:=ctypesym.create(def.fullownerhierarchyname(false)+typName[def.typ]+'$'+def.unique_id_str,def);
It will make names like below which don't upset the assembler.
SOMETESTUNIT.arraydef$00005
Anyways, I put up a patch on the bug tracker
(https://bugs.freepascal.org/view.php?id=35261) for you to review and see if I
did this right.
Regards,
Ryan Joseph
_______________________________________________
fpc-devel maillist - [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel