GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
Public Member Functions | |
mex (octave_mex_function *f) | |
~mex (void) | |
void | abort (void) |
void * | calloc (size_t n, size_t t) |
void * | calloc_unmarked (size_t n, 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 |
mxArray * | make_value (const octave_value &ov) |
void * | malloc (size_t n) |
void * | malloc_unmarked (size_t n) |
void | mark (void *ptr) |
mxArray * | mark_array (mxArray *ptr) |
void | mark_foreign (void *ptr) |
void * | realloc (void *ptr, size_t n) |
void | unmark (void *ptr) |
void | unmark_array (mxArray *ptr) |
void | unmark_foreign (void *ptr) |
Static Public Member Functions | |
static void | cleanup (void *ptr) |
Public Attributes | |
jmp_buf | jump |
int | trap_feval_error |
Private Member Functions | |
mex (const mex &) | |
void | global_mark (void *ptr) |
void | global_unmark (void *ptr) |
mex & | operator= (const mex &) |
Private Attributes | |
std::set< mxArray * > | arraylist |
octave_mex_function * | curr_mex_fcn |
char * | fname |
std::set< void * > | foreign_memlist |
std::set< void * > | memlist |
Static Private Attributes | |
static std::set< void * > | global_memlist |
|
inline |
|
inline |
|
private |
|
inline |
Definition at line 2274 of file mex.cc.
Referenced by malloc_unmarked(), mexCallMATLAB(), mexErrMsgIdAndTxt(), and mexErrMsgTxt().
Definition at line 2099 of file mex.cc.
References calloc_unmarked(), and mark().
Referenced by mxCalloc().
Definition at line 2089 of file mex.cc.
References malloc_unmarked().
Referenced by mxArray::calloc(), and calloc().
|
inlinestatic |
|
inline |
|
inline |
Definition at line 2142 of file mex.cc.
References foreign_memlist, global_memlist, unmark(), warning(), and xfree().
Referenced by mxFree().
Definition at line 2242 of file mex.cc.
References arraylist, and warning().
Referenced by mxDestroyArray().
|
inline |
Definition at line 2020 of file mex.cc.
References octave_call_stack::current(), fname, octave_function::name(), and mxArray::strsave().
Referenced by global_mark(), global_unmark(), malloc_unmarked(), mark(), mark_foreign(), mexFunctionName(), unmark(), unmark_foreign(), and ~mex().
|
inlineprivate |
Definition at line 2298 of file mex.cc.
References function_name(), and warning().
Referenced by malloc_unmarked().
|
inlineprivate |
Definition at line 2309 of file mex.cc.
References function_name(), and warning().
|
inline |
Definition at line 2236 of file mex.cc.
References mark_array().
Referenced by call_mex(), mexCallMATLAB(), and mexGetVariable().
|
inline |
Definition at line 2079 of file mex.cc.
References malloc_unmarked(), and mark().
Referenced by mxMalloc(), and realloc().
|
inline |
Definition at line 2059 of file mex.cc.
References abort(), error(), function_name(), global_mark(), and malloc().
Referenced by calloc_unmarked(), mxArray::malloc(), and malloc().
|
inline |
Definition at line 2195 of file mex.cc.
References arraylist.
Referenced by make_value(), and maybe_mark_array().
|
inline |
Definition at line 2210 of file mex.cc.
References foreign_memlist, function_name(), and warning().
Referenced by maybe_mark_foreign().
|
inline |
Definition at line 2111 of file mex.cc.
References global_memlist, malloc(), and memlist.
Referenced by mxRealloc().
|
inline |
Definition at line 2183 of file mex.cc.
References function_name(), memlist, and warning().
Referenced by free(), and maybe_unmark().
|
inline |
|
inline |
Definition at line 2221 of file mex.cc.
References foreign_memlist, function_name(), and warning().
|
private |
Definition at line 2285 of file mex.cc.
Referenced by cleanup(), free_value(), mark_array(), and unmark_array().
|
private |
Definition at line 2279 of file mex.cc.
Referenced by current_mex_function().
|
mutableprivate |
Definition at line 2292 of file mex.cc.
Referenced by function_name(), and ~mex().
|
private |
Definition at line 2289 of file mex.cc.
Referenced by free(), mark_foreign(), and unmark_foreign().
|
staticprivate |
jmp_buf mex::jump |
Definition at line 2271 of file mex.cc.
Referenced by call_mex().
|
private |
int mex::trap_feval_error |
Definition at line 2268 of file mex.cc.
Referenced by mexCallMATLAB(), and mexSetTrapFlag().