#include "octave-config.h"
#include "mxtypes.h"
#include <cstring>
#include "error.h"
Go to the source code of this file.
◆ DO_MUTABLE_METHOD
#define DO_MUTABLE_METHOD |
( |
|
RET_T, |
|
|
|
METHOD_CALL |
|
) |
| |
Value: RET_T retval = m_rep->METHOD_CALL; \
\
if (m_rep->mutation_needed ()) \
{ \
maybe_mutate (); \
retval = m_rep->METHOD_CALL; \
} \
\
return retval
Definition at line 64 of file mxarray.h.
◆ DO_VOID_MUTABLE_METHOD
#define DO_VOID_MUTABLE_METHOD |
( |
|
METHOD_CALL | ) |
|
Value: m_rep->METHOD_CALL; \
\
if (m_rep->mutation_needed ()) \
{ \
maybe_mutate (); \
m_rep->METHOD_CALL; \
}
Definition at line 75 of file mxarray.h.
◆ mxArray