23 #if ! defined (octave_defun_int_h)
24 #define octave_defun_int_h 1
26 #include "octave-config.h"
46 bool can_hide_function =
true);
51 bool relative =
false);
83 #define FORWARD_DECLARE_FUNX(name) \
84 extern OCTAVE_EXPORT octave_value_list \
85 name (const octave_value_list&, int)
87 #define FORWARD_DECLARE_FUN(name) \
88 FORWARD_DECLARE_FUNX (F ## name)
90 #define DECLARE_FUNX(name, args_name, nargout_name) \
91 OCTAVE_EXPORT octave_value_list \
92 name (const octave_value_list& args_name, int nargout_name)
94 #define DECLARE_FUN(name, args_name, nargout_name) \
95 DECLARE_FUNX (F ## name, args_name, nargout_name)
106 #if defined (OCTAVE_SOURCE)
107 # define DEFINE_FUN_INSTALLER_FUN(name, doc) \
108 DEFINE_FUNX_INSTALLER_FUN(#name, F ## name, G ## name, "external-doc")
110 # define DEFINE_FUN_INSTALLER_FUN(name, doc) \
111 DEFINE_FUNX_INSTALLER_FUN(#name, F ## name, G ## name, doc)
114 #define DEFINE_FUNX_INSTALLER_FUN(name, fname, gname, doc) \
118 gname (const octave::dynamic_library& shl, bool relative) \
120 check_version (OCTAVE_API_VERSION, name); \
122 octave_dld_function *fcn \
123 = octave_dld_function::create (fname, shl, name, doc); \
126 fcn->mark_relative (); \
Octave interface to the compression and uncompression libraries.
For example cd octave end example noindent changes the current working directory to file
octave_value_list(* fcn)(const octave_value_list &, int)
OCTINTERP_API void install_builtin_function(octave_builtin::fcn f, const std::string &name, const std::string &file, const std::string &doc, bool can_hide_function=true)
OCTINTERP_API void print_usage(void)
F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T F77_REAL F77_REAL &F77_RET_T F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE const F77_DBLE * f
OCTINTERP_API void alias_builtin(const std::string &alias, const std::string &name)
octave_auto_shlib(const octave::dynamic_library &shl)
OCTINTERP_API void check_version(const std::string &version, const std::string &fcn)
OCTINTERP_API void install_mex_function(void *fptr, bool fmex, const std::string &name, const octave::dynamic_library &shl, bool relative=false)
bool(* octave_dld_fcn_installer)(const octave::dynamic_library &, bool relative)
FloatComplex(* fptr)(const FloatComplex &, float, int, octave_idx_type &)
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
OCTINTERP_API void install_dld_function(octave_dld_function::fcn f, const std::string &name, const octave::dynamic_library &shl, const std::string &doc, bool relative=false)
OCTINTERP_API bool defun_isargout(int, int)
OCTINTERP_API octave::dynamic_library get_current_shlib(void)