Skip to content

Conversation

@StephenNneji
Copy link
Collaborator

The is a workaround for the crash when using ratapi on ARM macs

mexErrMsgTxt("Second input for delete command should be a class instance handle.");
destroyObject<CallbackInterface>(getStringFromMxArray(prhs[1], "class instance handle should a row vector char array"));
size_t size = mxGetNumberOfElements(prhs[1]);
destroyObject<CallbackInterface>(getStringFromMxArray(prhs[1], "class instance handle should a row vector char array"), size);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm guessing the error message should read "class instance handle should be a row vector char array"

@StephenNneji StephenNneji merged commit b4f5ef4 into RascalSoftware:master Jul 23, 2025
5 checks passed
@StephenNneji StephenNneji deleted the why_arm_macs branch September 3, 2025 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants