[Gambas-bugtracker] Bug #2255: Gambas3 Structs Array still confused with EXTERN call
bugtracker at gambaswiki.org
bugtracker at gambaswiki.org
Sun Jun 13 21:34:53 CEST 2021
http://gambaswiki.org/bugtracker/edit?object=BUG.2255&from=L21haW4-
Comment #1 by John ANDERSON:
In example given, Object.SizeOf(MyStruct) returns 208, but Object.SizeOf(MySVar) returns 1296 (correct size with padding between sinta and SaLong[] array in Mystruct ). Everything really crashes now with Segfault if I try to EXTERN memmove.
Since MySVar is a Mystruct...I'm wondering why Object.SizeOf(object) is returning two different sizes.
More information about the Bugtracker
mailing list