Commit d353fe15 authored by andrewk-mccann's avatar andrewk-mccann

Added size_t conversion for class Bridge. Need when compiling extra modules into matlab.

parent eb8f5b88
......@@ -293,6 +293,10 @@ public:
int toInt() { return ptr_.scalar<int>(); }
operator int() { return toInt(); }
// --------------------------- size_t -----------------------------------------
Bridge& operator=(const size_t&) { return *this; }
size_t toSizeT() { return ptr_.scalar<size_t>(); }
operator size_t() { return toSizeT(); }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment