GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
mxarray.h File Reference
#include "octave-config.h"
#include "mxtypes.h"
#include <cstring>
#include "error.h"

Go to the source code of this file.

Classes

class  mxArray
 
class  mxArray_base
 

Macros

#define DO_MUTABLE_METHOD(RET_T, METHOD_CALL)
 
#define DO_VOID_MUTABLE_METHOD(METHOD_CALL)
 

Macro Definition Documentation

◆ 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.