26 #if ! defined (octave_variables_h)
27 #define octave_variables_h 1
29 #include "octave-config.h"
43 OCTAVE_END_NAMESPACE(
octave)
67 extern OCTINTERP_API
int
70 extern OCTINTERP_API std::string
75 int nargout,
const char *nm);
79 int nargout,
const char *nm);
83 int nargout,
const char *nm,
89 int nargout,
const char *nm,
95 int nargout,
const char *nm,
bool empty_ok =
true);
99 int nargout,
const char *nm,
const char **choices);
103 int nargout,
const char *nm,
const char **choices);
105 extern OCTINTERP_API std::string
108 OCTAVE_END_NAMESPACE(
octave)
112 #define SET_INTERNAL_VARIABLE(NM) \
113 set_internal_variable (V ## NM, args, nargout, #NM)
115 #define SET_NONEMPTY_INTERNAL_STRING_VARIABLE(NM) \
116 set_internal_variable (V ## NM, args, nargout, #NM, false)
118 #define SET_INTERNAL_VARIABLE_WITH_LIMITS(NM, MINVAL, MAXVAL) \
119 set_internal_variable (V ## NM, args, nargout, #NM, MINVAL, MAXVAL)
122 #define SET_INTERNAL_VARIABLE_CHOICES(NM, CHOICES) \
123 set_internal_variable (V ## NM, args, nargout, #NM, CHOICES)
charNDArray max(char d, const charNDArray &m)
charNDArray min(char d, const charNDArray &m)
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
octave_value set_internal_variable(bool &var, const octave_value_list &args, int nargout, const char *nm)
octave_function * is_valid_function(const octave_value &, const std::string &="", bool warn=false)
int symbol_exist(const std::string &name, const std::string &type="any")
std::string maybe_missing_function_hook(const std::string &name)
std::string unique_symbol_name(const std::string &basename)