Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
2673694c
Commit
2673694c
authored
May 11, 2018
by
Davis King
Browse files
Fixed cell arrays of complex types not binding correctly.
parent
a6abf8c6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
dlib/matlab/mex_wrapper.cpp
dlib/matlab/mex_wrapper.cpp
+18
-0
No files found.
dlib/matlab/mex_wrapper.cpp
View file @
2673694c
...
@@ -348,6 +348,24 @@ namespace mex_binding
...
@@ -348,6 +348,24 @@ namespace mex_binding
T
&
arg
T
&
arg
);
);
void
validate_and_populate_arg
(
long
arg_idx
,
const
mxArray
*
prhs
,
matlab_struct
&
arg
);
void
validate_and_populate_arg
(
long
arg_idx
,
const
mxArray
*
prhs
,
matlab_object
&
arg
);
void
validate_and_populate_arg
(
long
arg_idx
,
const
mxArray
*
prhs
,
std
::
string
&
arg
);
// -------------------------------------------------------
// -------------------------------------------------------
template
<
typename
T
>
template
<
typename
T
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment