diff options
author | Mark Spruiell <mes@zeroc.com> | 2017-10-03 15:15:31 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2017-10-03 15:15:31 -0700 |
commit | 3c1ed6f3c56943fa7938042f72dc20dc79f6ae2a (patch) | |
tree | 5af66030548c3250946ee68f786e60fa5bfee9c7 /matlab/src/IceMatlab/ObjectPrx.cpp | |
parent | Adding inheritance test (diff) | |
download | ice-3c1ed6f3c56943fa7938042f72dc20dc79f6ae2a.tar.bz2 ice-3c1ed6f3c56943fa7938042f72dc20dc79f6ae2a.tar.xz ice-3c1ed6f3c56943fa7938042f72dc20dc79f6ae2a.zip |
Adding more tests; checksum support
Diffstat (limited to 'matlab/src/IceMatlab/ObjectPrx.cpp')
-rw-r--r-- | matlab/src/IceMatlab/ObjectPrx.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/matlab/src/IceMatlab/ObjectPrx.cpp b/matlab/src/IceMatlab/ObjectPrx.cpp index 11242b88ca2..8ce5a98f9b8 100644 --- a/matlab/src/IceMatlab/ObjectPrx.cpp +++ b/matlab/src/IceMatlab/ObjectPrx.cpp @@ -234,16 +234,16 @@ Ice_ObjectPrx__release(void* self) } EXPORTED_FUNCTION mxArray* -Ice_ObjectPrx_equals(void* self, void* other, unsigned char* r) +Ice_ObjectPrx_equals(void* self, void* other) { assert(other); // Wrapper only calls this function for non-nil arguments. try { - *r = Ice::targetEqualTo(SELF, DEREF(other)) ? 1 : 0; + return createResultValue(createBool(Ice::targetEqualTo(SELF, DEREF(other)))); } catch(const std::exception& ex) { - return convertException(ex); + return createResultException(convertException(ex)); } return 0; } |