Skip to content

Commit

Permalink
correct mwrap generated c files
Browse files Browse the repository at this point in the history
  • Loading branch information
lu1and10 committed Nov 5, 2024
1 parent c056496 commit ede2e0d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
8 changes: 0 additions & 8 deletions matlab/fmm3d.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,6 @@
*/
int* mexprofrecord_= NULL;

double mxWrapGetChar(const mxArray* a, const char** e)
{
if (!a || mxGetClassID(a) != mxCHAR_CLASS || mxGetM(a)*mxGetN(a) != 1) {
*e = "Invalid char argument";
return 0;
}
return (char) (*mxGetChars(a));
}

/*
* Support routines for copying data into and out of the MEX stubs, R2018a
Expand Down
8 changes: 0 additions & 8 deletions matlab/fmm3d_legacy.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,6 @@
*/
int* mexprofrecord_= NULL;

double mxWrapGetChar(const mxArray* a, const char** e)
{
if (!a || mxGetClassID(a) != mxCHAR_CLASS || mxGetM(a)*mxGetN(a) != 1) {
*e = "Invalid char argument";
return 0;
}
return (char) (*mxGetChars(a));
}

/*
* Support routines for copying data into and out of the MEX stubs, R2018a
Expand Down

0 comments on commit ede2e0d

Please sign in to comment.