Open AndrewAday opened 11 months ago
Chuck_DL_Api::Type type = API->object->get_type(API, SHRED, "CglUpdate"); Chuck_DL_Api::Object obj = API->object->create(API, SHRED, type); RETURN->v_object = (Chuck_Object *)obj;
CglUpdate CK_DLL_CTOR is not called. See https://github.com/ccrma/chuck/blob/2d8ce621bc0b75365d524d4682c8edc3dedf980c/src/core/chuck_instr.cpp#L3769 call_pre_constructor needs to be called, as well as pre-constructors up the inheritance hierarchy.
call_pre_constructor
Encountered working on CGL.nextFrame(), but we have a workaround for now
duplicate of #350
CglUpdate CK_DLL_CTOR is not called. See https://github.com/ccrma/chuck/blob/2d8ce621bc0b75365d524d4682c8edc3dedf980c/src/core/chuck_instr.cpp#L3769
call_pre_constructor
needs to be called, as well as pre-constructors up the inheritance hierarchy.Encountered working on CGL.nextFrame(), but we have a workaround for now