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
2cfbd02c
Commit
2cfbd02c
authored
Apr 08, 2016
by
Davis King
Browse files
Fixed bug in mex binding API.
parent
03995313
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
dlib/matrix/matrix_data_layout.h
dlib/matrix/matrix_data_layout.h
+12
-12
No files found.
dlib/matrix/matrix_data_layout.h
View file @
2cfbd02c
...
...
@@ -188,7 +188,7 @@ namespace dlib
void
_private_set_mxArray
(
mxArray
*
)
{
DLIB_CASSERT
(
false
,
"This function should never be called."
);
}
mxArray
*
_private_release_mxArray
(){
DLIB_CASSERT
(
false
,
"This function should never be called."
);
}
void
_private_mark_non_persistent
()
{
DLIB_CASSERT
(
false
,
"This function should never be called."
);
}
bool
_private_is_persistent
()
{
DLIB_CASSERT
(
false
,
"This function should never be called."
)
;
}
bool
_private_is_persistent
()
const
{
return
true
;
}
#endif
private:
...
...
@@ -258,7 +258,7 @@ namespace dlib
void
_private_set_mxArray
(
mxArray
*
)
{
DLIB_CASSERT
(
false
,
"This function should never be called."
);
}
mxArray
*
_private_release_mxArray
(){
DLIB_CASSERT
(
false
,
"This function should never be called."
);
}
void
_private_mark_non_persistent
()
{
DLIB_CASSERT
(
false
,
"This function should never be called."
);
}
bool
_private_is_persistent
()
{
DLIB_CASSERT
(
false
,
"This function should never be called."
)
;
}
bool
_private_is_persistent
()
const
{
return
true
;
}
#endif
private:
...
...
@@ -340,7 +340,7 @@ namespace dlib
void
_private_set_mxArray
(
mxArray
*
)
{
DLIB_CASSERT
(
false
,
"This function should never be called."
);
}
mxArray
*
_private_release_mxArray
(){
DLIB_CASSERT
(
false
,
"This function should never be called."
);
}
void
_private_mark_non_persistent
()
{
DLIB_CASSERT
(
false
,
"This function should never be called."
);
}
bool
_private_is_persistent
()
{
DLIB_CASSERT
(
false
,
"This function should never be called."
)
;
}
bool
_private_is_persistent
()
const
{
return
true
;
}
#endif
private:
...
...
@@ -425,7 +425,7 @@ namespace dlib
void
_private_set_mxArray
(
mxArray
*
)
{
DLIB_CASSERT
(
false
,
"This function should never be called."
);
}
mxArray
*
_private_release_mxArray
(){
DLIB_CASSERT
(
false
,
"This function should never be called."
);
}
void
_private_mark_non_persistent
()
{
DLIB_CASSERT
(
false
,
"This function should never be called."
);
}
bool
_private_is_persistent
()
{
DLIB_CASSERT
(
false
,
"This function should never be called."
)
;
}
bool
_private_is_persistent
()
const
{
return
true
;
}
#endif
private:
...
...
@@ -512,7 +512,7 @@ namespace dlib
void
_private_set_mxArray
(
mxArray
*
)
{
DLIB_CASSERT
(
false
,
"This function should never be called."
);
}
mxArray
*
_private_release_mxArray
(){
DLIB_CASSERT
(
false
,
"This function should never be called."
);
}
void
_private_mark_non_persistent
()
{
DLIB_CASSERT
(
false
,
"This function should never be called."
);
}
bool
_private_is_persistent
()
{
DLIB_CASSERT
(
false
,
"This function should never be called."
)
;
}
bool
_private_is_persistent
()
const
{
return
true
;
}
#endif
private:
T
*
data
;
...
...
@@ -635,7 +635,7 @@ namespace dlib
void
_private_set_mxArray
(
mxArray
*
)
{
DLIB_CASSERT
(
false
,
"This function should never be called."
);
}
mxArray
*
_private_release_mxArray
(){
DLIB_CASSERT
(
false
,
"This function should never be called."
);
}
void
_private_mark_non_persistent
()
{
DLIB_CASSERT
(
false
,
"This function should never be called."
);
}
bool
_private_is_persistent
()
{
DLIB_CASSERT
(
false
,
"This function should never be called."
)
;
}
bool
_private_is_persistent
()
const
{
return
true
;
}
#endif
private:
...
...
@@ -705,7 +705,7 @@ namespace dlib
void
_private_set_mxArray
(
mxArray
*
)
{
DLIB_CASSERT
(
false
,
"This function should never be called."
);
}
mxArray
*
_private_release_mxArray
(){
DLIB_CASSERT
(
false
,
"This function should never be called."
);
}
void
_private_mark_non_persistent
()
{
DLIB_CASSERT
(
false
,
"This function should never be called."
);
}
bool
_private_is_persistent
()
{
DLIB_CASSERT
(
false
,
"This function should never be called."
)
;
}
bool
_private_is_persistent
()
const
{
return
true
;
}
#endif
private:
...
...
@@ -787,7 +787,7 @@ namespace dlib
void
_private_set_mxArray
(
mxArray
*
)
{
DLIB_CASSERT
(
false
,
"This function should never be called."
);
}
mxArray
*
_private_release_mxArray
(){
DLIB_CASSERT
(
false
,
"This function should never be called."
);
}
void
_private_mark_non_persistent
()
{
DLIB_CASSERT
(
false
,
"This function should never be called."
);
}
bool
_private_is_persistent
()
{
DLIB_CASSERT
(
false
,
"This function should never be called."
)
;
}
bool
_private_is_persistent
()
const
{
return
true
;
}
#endif
private:
...
...
@@ -872,7 +872,7 @@ namespace dlib
void
_private_set_mxArray
(
mxArray
*
)
{
DLIB_CASSERT
(
false
,
"This function should never be called."
);
}
mxArray
*
_private_release_mxArray
(){
DLIB_CASSERT
(
false
,
"This function should never be called."
);
}
void
_private_mark_non_persistent
()
{
DLIB_CASSERT
(
false
,
"This function should never be called."
);
}
bool
_private_is_persistent
()
{
DLIB_CASSERT
(
false
,
"This function should never be called."
)
;
}
bool
_private_is_persistent
()
const
{
return
true
;
}
#endif
private:
...
...
@@ -939,7 +939,7 @@ namespace dlib
void
_private_set_mxArray
(
mxArray
*
)
{
DLIB_CASSERT
(
false
,
"This function should never be called."
);
}
mxArray
*
_private_release_mxArray
(){
DLIB_CASSERT
(
false
,
"This function should never be called."
);
}
void
_private_mark_non_persistent
()
{
DLIB_CASSERT
(
false
,
"This function should never be called."
);
}
bool
_private_is_persistent
()
{
DLIB_CASSERT
(
false
,
"This function should never be called."
)
;
}
bool
_private_is_persistent
()
const
{
return
true
;
}
#endif
long
nr
(
...
...
@@ -1041,7 +1041,7 @@ namespace dlib
DLIB_CASSERT
(
mem
==
0
,
"You can't convert a persistent matlab array to non-persistent."
);
make_persistent
=
false
;
}
bool
_private_is_persistent
()
bool
_private_is_persistent
()
const
{
return
make_persistent
;
}
...
...
@@ -1167,7 +1167,7 @@ namespace dlib
DLIB_CASSERT
(
mem
==
0
,
"You can't convert a persistent matlab array to non-persistent."
);
make_persistent
=
false
;
}
bool
_private_is_persistent
()
bool
_private_is_persistent
()
const
{
return
make_persistent
;
}
...
...
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