Public Member Functions | |
mex (const mex &)=delete | |
mex (octave_mex_function &f) | |
~mex (void) | |
void * | calloc (std::size_t n, std::size_t t) |
void * | calloc_unmarked (std::size_t n, std::size_t t) |
octave_mex_function & | current_mex_function (void) const |
void | free (void *ptr) |
bool | free_value (mxArray *ptr) |
const char * | function_name (void) const |
void | global_mark (void *ptr) |
void | global_unmark (void *ptr) |
mxArray * | make_value (const octave_value &ov) |
void * | malloc (std::size_t n) |
void * | malloc_unmarked (std::size_t n) |
void | mark (void *ptr) |
mxArray * | mark_array (mxArray *ptr) |
void | mark_foreign (void *ptr) |
mex & | operator= (const mex &)=delete |
void * | realloc (void *ptr, std::size_t n) |
void | unmark (void *ptr) |
void | unmark_array (mxArray *ptr) |
void | unmark_foreign (void *ptr) |
Public Attributes | |
int | trap_feval_error = 0 |
Private Attributes | |
std::set< mxArray * > | m_arraylist |
octave_mex_function & | m_curr_mex_fcn |
char * | m_fname |
std::set< void * > | m_foreign_memlist |
std::set< void * > | m_memlist |
Static Private Attributes | |
static std::set< void * > | s_global_memlist |
|
inline |
|
delete |
|
inline |
Definition at line 3424 of file mex.cc.
References error(), function_name(), m_arraylist, m_fname, m_memlist, mxFree(), and xfree().
|
inline |
Definition at line 3506 of file mex.cc.
References calloc_unmarked(), mark(), and n.
Referenced by mxCalloc().
|
inline |
Definition at line 3496 of file mex.cc.
References malloc_unmarked(), and n.
Referenced by calloc(), and mxArray::calloc().
|
inline |
|
inline |
Definition at line 3551 of file mex.cc.
References m_foreign_memlist, s_global_memlist, unmark(), warning(), and xfree().
Referenced by mxFree().
|
inline |
Definition at line 3653 of file mex.cc.
References m_arraylist, and warning().
Referenced by mxDestroyArray().
|
inline |
Definition at line 3448 of file mex.cc.
References __get_evaluator__(), m_fname, octave_function::name(), and mxArray::strsave().
Referenced by ~mex(), global_mark(), global_unmark(), malloc_unmarked(), mark(), mark_foreign(), mexFunctionName(), unmark(), and unmark_foreign().
|
inline |
Definition at line 3682 of file mex.cc.
References function_name(), s_global_memlist, and warning().
Referenced by malloc_unmarked().
|
inline |
Definition at line 3693 of file mex.cc.
References function_name(), s_global_memlist, and warning().
|
inline |
Definition at line 3645 of file mex.cc.
References m_curr_mex_fcn, mark_array(), and octave_mex_function::use_interleaved_complex().
Referenced by call_mex(), mexCallMATLAB(), and mexGetVariable().
|
inline |
Definition at line 3486 of file mex.cc.
References malloc_unmarked(), mark(), and n.
Referenced by mxMalloc(), and realloc().
|
inline |
Definition at line 3469 of file mex.cc.
References error(), function_name(), global_mark(), n, and xmalloc().
Referenced by calloc_unmarked(), malloc(), and mxArray::malloc().
|
inline |
Definition at line 3604 of file mex.cc.
References m_arraylist.
Referenced by make_value(), and maybe_mark_array().
|
inline |
Definition at line 3619 of file mex.cc.
References function_name(), m_foreign_memlist, and warning().
Referenced by maybe_mark_foreign().
|
inline |
Definition at line 3518 of file mex.cc.
References m_memlist, malloc(), n, s_global_memlist, and xrealloc().
Referenced by mxRealloc().
|
inline |
Definition at line 3592 of file mex.cc.
References function_name(), m_memlist, and warning().
Referenced by free(), and maybe_unmark().
|
inline |
|
inline |
Definition at line 3630 of file mex.cc.
References function_name(), m_foreign_memlist, and warning().
|
private |
Definition at line 3714 of file mex.cc.
Referenced by ~mex(), free_value(), mark_array(), and unmark_array().
|
private |
Definition at line 3708 of file mex.cc.
Referenced by current_mex_function(), and make_value().
|
mutableprivate |
Definition at line 3721 of file mex.cc.
Referenced by ~mex(), and function_name().
|
private |
Definition at line 3718 of file mex.cc.
Referenced by free(), mark_foreign(), and unmark_foreign().
|
private |
|
staticprivate |
Definition at line 3724 of file mex.cc.
Referenced by free(), global_mark(), global_unmark(), and realloc().
int mex::trap_feval_error = 0 |
Definition at line 3679 of file mex.cc.
Referenced by mexCallMATLAB(), mexCallMATLABWithTrap(), and mexSetTrapFlag().