GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
defun-dld.h File Reference
#include "octave-config.h"
#include "defun-int.h"

Go to the source code of this file.

Macros

#define DEFMETHOD_DLD(name, interp_name, args_name, nargout_name, doc)
 Macro to define an at run time dynamically loadable builtin method. More...
 
#define DEFMETHOD_STATIC_DLD(name, interp_name, args_name, nargout_name, doc)
 
#define DEFMETHODX_DLD(name, fname, gname, interp_name, args_name, nargout_name, doc)
 
#define DEFMETHODX_STATIC_DLD(name, fname, gname, interp_name, args_name, nargout_name, doc)
 
#define DEFUN_DLD(name, args_name, nargout_name, doc)
 Macro to define an at run time dynamically loadable builtin function. More...
 
#define DEFUN_STATIC_DLD(name, args_name, nargout_name, doc)
 
#define DEFUNX_DLD(name, fname, gname, args_name, nargout_name, doc)
 
#define DEFUNX_STATIC_DLD(name, fname, gname, args_name, nargout_name, doc)
 

Macro Definition Documentation

◆ DEFMETHOD_DLD

#define DEFMETHOD_DLD (   name,
  interp_name,
  args_name,
  nargout_name,
  doc 
)
Value:
DEFINE_FUN_INSTALLER_FUN (name, doc) \
DECLARE_METHOD (name, interp_name, args_name, nargout_name)
#define FORWARD_DECLARE_METHOD(name)
Definition: defun-int.h:129

Macro to define an at run time dynamically loadable builtin method.

For detailed information, see Macros.

Parameters
nameThe unquoted name of the method that should be installed on the 'octave::symbol_table' and can be called by the interpreter. Internally, the method name is prepended by an 'F'.
interp_nameThe name of the 'octave::interpreter' reference that can be used by this method. If this value is omitted, there is no access to the interpreter and one should use DEFUN to define a function instead.
args_nameThe name of the octave_value_list variable used to pass the argument list to this method. If this value is omitted, the method cannot access the argument list.
nargout_nameThe name of the 'int' variable used to pass the number of output arguments this method is expected to produce from the caller. If this value is omitted, the method cannot access this number.
docTexinfo help text (docstring) for the method.
See also
DEFUN_DLD

Definition at line 99 of file defun-dld.h.

◆ DEFMETHOD_STATIC_DLD

#define DEFMETHOD_STATIC_DLD (   name,
  interp_name,
  args_name,
  nargout_name,
  doc 
)
Value:
DEFINE_FUN_INSTALLER_FUN (name, doc) \
DECLARE_STATIC_METHOD (name, interp_name, args_name, nargout_name)
#define FORWARD_DECLARE_STATIC_METHOD(name)
Definition: defun-int.h:158

Definition at line 124 of file defun-dld.h.

◆ DEFMETHODX_DLD

#define DEFMETHODX_DLD (   name,
  fname,
  gname,
  interp_name,
  args_name,
  nargout_name,
  doc 
)
Value:
DEFINE_FUNX_INSTALLER_FUN (name, fname, gname, doc) \
DECLARE_METHODX (fname, interp_name, args_name, nargout_name)
#define FORWARD_DECLARE_METHODX(name)
Definition: defun-int.h:122

Definition at line 104 of file defun-dld.h.

◆ DEFMETHODX_STATIC_DLD

#define DEFMETHODX_STATIC_DLD (   name,
  fname,
  gname,
  interp_name,
  args_name,
  nargout_name,
  doc 
)
Value:
DEFINE_FUNX_INSTALLER_FUN (name, fname, gname, doc) \
DECLARE_STATIC_METHODX (fname, interp_name, args_name, nargout_name)
#define FORWARD_DECLARE_STATIC_METHODX(name)
Definition: defun-int.h:151

Definition at line 130 of file defun-dld.h.

◆ DEFUN_DLD

#define DEFUN_DLD (   name,
  args_name,
  nargout_name,
  doc 
)
Value:
DEFINE_FUN_INSTALLER_FUN (name, doc) \
DECLARE_FUN (name, args_name, nargout_name)
#define FORWARD_DECLARE_FUN(name)
Definition: defun-int.h:126

Macro to define an at run time dynamically loadable builtin function.

For detailed information, see Macros.

Parameters
nameThe unquoted name of the function that should be installed on the 'octave::symbol_table' and can be called by the interpreter. Internally, the function name is prepended by an 'F'.
args_nameThe name of the octave_value_list variable used to pass the argument list to this function. If this value is omitted, the function cannot access the argument list.
nargout_nameThe name of the 'int' variable used to pass the number of output arguments this function is expected to produce from the caller. If this value is omitted, the function cannot access this number.
docTexinfo help text (docstring) for the function.
See also
DEFMETHOD_DLD

Definition at line 61 of file defun-dld.h.

◆ DEFUN_STATIC_DLD

#define DEFUN_STATIC_DLD (   name,
  args_name,
  nargout_name,
  doc 
)
Value:
DEFINE_FUN_INSTALLER_FUN (name, doc) \
DECLARE_STATIC_FUN (name, args_name, nargout_name)
#define FORWARD_DECLARE_STATIC_FUN(name)
Definition: defun-int.h:155

Definition at line 113 of file defun-dld.h.

◆ DEFUNX_DLD

#define DEFUNX_DLD (   name,
  fname,
  gname,
  args_name,
  nargout_name,
  doc 
)
Value:
DEFINE_FUNX_INSTALLER_FUN (name, fname, gname, doc) \
DECLARE_FUNX (fname, args_name, nargout_name)
#define FORWARD_DECLARE_FUNX(name)
Definition: defun-int.h:118

Definition at line 66 of file defun-dld.h.

◆ DEFUNX_STATIC_DLD

#define DEFUNX_STATIC_DLD (   name,
  fname,
  gname,
  args_name,
  nargout_name,
  doc 
)
Value:
DEFINE_FUNX_INSTALLER_FUN (name, fname, gname, doc) \
DECLARE_STATIC_FUNX (fname, args_name, nargout_name)
#define FORWARD_DECLARE_STATIC_FUNX(name)
Definition: defun-int.h:147

Definition at line 118 of file defun-dld.h.