refactor: remove force-retention and placement tricks; recover real data order (rx67) (worker f07c21ff) (#1231)

This commit was merged in pull request #1231.
This commit is contained in:
coah
2026-10-05 12:44:18 -05:00
committed by GitHub
parent 8fd7e1cede
commit 9ca4385ffb
22 changed files with 917 additions and 155 deletions

View File

@@ -5,8 +5,7 @@
namespace ipl {
namespace cs {
namespace mtx34 {
// used but pooled first
DECOMP_FORCE_ACTIVE(iplCSMtx_cpp, "MTX34");
static char className[] = "MTX34";
#define PROPERTY_COUNT 13
extern const CHANSVmPropertyList cPropertyList[PROPERTY_COUNT];
@@ -151,7 +150,7 @@ namespace ipl {
BOOL init(CHANSVm* vm) {
BOOL result = FALSE;
// Create class
CHANSVmNativeClass* cls = CHANSVmAddNativeClass(vm, "MTX34", ctor, NULL);
CHANSVmNativeClass* cls = CHANSVmAddNativeClass(vm, className, ctor, NULL);
if (cls != NULL) {
// Add properties
result = CHANSVmAddNativePropertyAccessorsList(vm, cls, cPropertyList, PROPERTY_COUNT) == CHANS_VM_OK;