sharedfuncs.cpp
/* Unboxes an object, returning a new reference */
Unboxes an object, returning a new reference
Unboxes an object returning a new reference
PyObject *unboxn (const mxArray *mxobj) {
  PyObject *pyobj;
  if (mxIsPyObject(mxobj)) {
    pyobj = unbox(mxobj);
    Py_XINCREF(pyobj);
  }
  else {
    pyobj = Any_mxArray_to_PyObject(mxobj);
  }
  return pyobj;
}
PyObject * unboxn ( const mxArray * mxobj ) { PyObject * pyobj ; if ( mxIsPyObject ( mxobj ) ) { pyobj = unbox ( mxobj ) ; Py_XINCREF ( pyobj ) ; } else { pyobj = Any_mxArray_to_PyObject ( mxobj ) ; } return pyobj ; }
Unboxes an object, returning a new reference
Unboxes an object returning a new reference