ecere/com; compiler/libec: (#1087) Fixed class:struct issues
authorJerome St-Louis <jerome@ecere.com>
Fri, 11 Jul 2014 01:36:45 +0000 (21:36 -0400)
committerJerome St-Louis <jerome@ecere.com>
Fri, 11 Jul 2014 01:44:48 +0000 (21:44 -0400)
commitabfa4379c019b2bebc30a54331f0077bbe458208
treef573c78ccfc8160377657b25a72d22b05fa55943
parenta21034fe364470f8b3eb99bbd5f7f85a2ebfc580
ecere/com; compiler/libec: (#1087) Fixed class:struct issues
- Watches on a derived class:struct member whose base class has end-padding did not work (e.g. AddCharAction)
- Alignment issues as derived classes are bundled together in a single struct
- Derived class offset was not correct
- OnGetString, OnGetDataFromString and JSON did not add class offset but should have
- typed_object& methods when called as a member of a class:struct did not have proper reference level (the address of the class:struct instance should be passed)
compiler/bootstrap/ecc/bootstrap/ecc.c
compiler/bootstrap/ecere/bootstrap/dataTypes.c
compiler/bootstrap/ecere/bootstrap/instance.c
compiler/bootstrap/libec/bootstrap/pass15.c
compiler/bootstrap/libec/bootstrap/pass2.c
compiler/libec/src/pass15.ec
compiler/libec/src/pass2.ec
ecere/src/com/dataTypes.ec
ecere/src/com/instance.ec
ecere/src/sys/JSON.ec
eda/drivers/sqlite/EDASQLite.ec