void ClassD_collectorInsertAndMakeBase_19(int nargout, mxArray *out[], int nargin, const mxArray *in[]) { mexAtExit(&_deleteAllObjects); typedef boost::shared_ptr<ClassD> Shared; Shared *self = *reinterpret_cast<Shared**> (mxGetData(in[0])); collector_ClassD.insert(self); }
void ClassD_constructor_20(int nargout, mxArray *out[], int nargin, const mxArray *in[]) { mexAtExit(&_deleteAllObjects); typedef boost::shared_ptr<ClassD> Shared; Shared *self = new Shared(new ClassD()); collector_ClassD.insert(self); out[0] = mxCreateNumericMatrix(1, 1, mxUINT32OR64_CLASS, mxREAL); *reinterpret_cast<Shared**> (mxGetData(out[0])) = self; }