changeset 11681:114dcfc15432
release-3-0-x
mex.cc: arg to mxCreateLogicalScalar is now mxLogical
author |
John W. Eaton <jwe@octave.org> |
date |
Mon, 10 Mar 2008 23:18:47 -0400 |
parents |
83f68ef05c8e |
children |
b7a30502f0c9 |
files |
src/ChangeLog src/mex.cc |
diffstat |
2 files changed, 3 insertions(+), 1 deletions(-)
[+]
|
line diff
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
2008-03-10 John W. Eaton <jwe@octave.org>
+ * mex.cc (mxCreateLogicalScalar): Argument is now mxLogical.
+
* mxarray.h.in (mxLogical): Use unsigned char instead of int.
From Antwerpen, G. (Gert) van <gert.vanantwerpen@tno.nl>.
--- a/src/mex.cc
+++ b/src/mex.cc
@@ -2544,7 +2544,7 @@
}
mxArray *
-mxCreateLogicalScalar (int val)
+mxCreateLogicalScalar (mxLogical val)
{
return maybe_mark_array (new mxArray (mxLOGICAL_CLASS, val));
}