20 Commits

Author SHA1 Message Date
Mario Zechner
d62b2682bb [c][ios][flutter] More documentation related codegen 2025-09-15 15:44:13 +02:00
Mario Zechner
522101f569 [c] Codegen outputs ported comments 2025-09-15 15:14:50 +02:00
Mario Zechner
324a962b5f [c] Code generator now generates cast functions, see updated spine-c docs on RTTI 2025-09-10 22:04:33 +02:00
Mario Zechner
0e0a12b4a5 [c] Always assume we have a pointer for the concrete class. 2025-09-10 21:38:35 +02:00
Mario Zechner
7534416489 [c] Fix nullability evaluation for return and parameter types. type contains * and no &? nullable 2025-07-25 22:50:11 +02:00
Mario Zechner
65b138411c [c] Add check to codegen for setter/getter pairs with inconsistens nullability (one nullable, the other not) 2025-07-25 22:16:13 +02:00
Mario Zechner
364d3ff5c7 [c] Add constructors to null-analysis.ts 2025-07-25 21:54:45 +02:00
Mario Zechner
4e875bc17f [c] ir-generator now evalutes nullability in spine-cpp based on pointer (nullable) or reference (non-nullable) 2025-07-25 20:49:26 +02:00
Mario Zechner
c22644fb36 [c] Improved null-analysis.ts, handle exclusions, resolve XXXGeneric to XXX in Java. 2025-07-25 14:59:47 +02:00
Mario Zechner
736f5148f1 [c] null-analysis tool. 2025-07-25 14:03:09 +02:00
Mario Zechner
dbac857351 [c] Codegen can generate raw json (--export-json), builds super/sub and inheritance maps for OOP languages like Swift/Dart 2025-07-24 22:27:19 +02:00
Mario Zechner
8b135f18bb [c] Codegen can export JSON (--export-json) and returns super and sub type info for each C type 2025-07-24 12:23:47 +02:00
Mario Zechner
0d92c5d21e [c] Fix main module check 2025-07-24 01:15:09 +02:00
Mario Zechner
003e5a4d78 [c] Fix handling of PropertyId arrays 2025-07-24 00:37:13 +02:00
Mario Zechner
6090b2da22 [spine-c] Make destructors excludable (needed for spine_atlas_dispose which is overwritten in extensions.cpp) 2025-07-21 01:01:42 +02:00
Mario Zechner
2c83fe0252 [c] More robust enum extraction, assign self to local vars for easier debugging. 2025-07-15 22:17:48 +02:00
Mario Zechner
8503ae00d3 [c] Fix formatting generated by codgen. 2025-07-15 21:31:32 +02:00
Mario Zechner
497f4382b1 [c] Fix String reference returns in ir-generator, add debug-printer scaffold for runtime comparison tests 2025-07-11 11:01:25 +02:00
Mario Zechner
9c06cef2be [c][cpp] Fix ir-generator, Update type hierarchy in C++
- ir-generator did not handle const String& parameters correctly
- Type hierarchy of Bone, Constraint was incorrect. Bone didn't extend Update, thus fetching RTTI in updateCache failed at runtime.
2025-07-11 02:17:12 +02:00
Mario Zechner
c651e74924 [c] Removed old spine-c, removed spine-cpp-lite, replaced with new spine-c 2025-07-10 19:28:37 +02:00