23 #if defined (HAVE_CONFIG_H)
44 error (
"onCleanup: no default dispatch for function handle");
53 if (pl != 0 && pl->
length () > 0)
54 warning (
"onCleanup: cleanup action takes parameters");
60 error (
"onCleanup: argument must be a function handle");
86 catch (
const octave::interrupt_exception&)
90 warning (
"onCleanup: interrupt occurred in cleanup action");
92 catch (
const octave::execution_exception&)
95 warning (
"onCleanup: error caught while executing cleanup function:\n%s\n",
99 catch (
const octave::exit_exception&)
102 warning (
"onCleanup: exit disabled while executing cleanup function");
107 warning (
"onCleanup: internal error: unhandled exception in cleanup action");
122 warning (
"save: unable to save onCleanup variables, skipping");
138 warning (
"save: unable to save onCleanup variables, skipping");
156 warning (
"save: unable to save onCleanup variables, skipping");
197 if (
args.length () != 1)
bool load_hdf5(octave_hdf5_id loc_id, const char *name)
tree_parameter_list * parameter_list(void)
OCTAVE_EXPORT octave_value_list isa nd deftypefn *return ovl(args(0).is_integer_type())
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
bool is_defined(void) const
#define DEFUN(name, args_name, nargout_name, doc)
void error(const char *fmt,...)
void setfield(const std::string &key, const octave_value &val)
#define DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA(t, n, c)
bool load_binary(std::istream &is, bool swap, octave::mach_info::float_format fmt)
void newline(std::ostream &os) const
bool is_function_handle(void) const
octave_value_list do_multi_index_op(int nargout, const octave_value_list &idx)
void print_raw(std::ostream &os, bool pr_as_read_syntax=false) const
sig_atomic_t octave_interrupt_state
bool save_binary(std::ostream &os, bool &save_as_floats)
friend class octave_value
octave_function * function_value(bool silent=false) const
bool save_ascii(std::ostream &os)
void warning(const char *fmt,...)
octave::unwind_protect frame
void recover_from_exception(void)
OCTINTERP_API std::string last_error_message(void)
octave_scalar_map scalar_map_value(void) const
size_t length(void) const
bool is_undefined(void) const
void print(std::ostream &os, bool pr_as_read_syntax=false)
bool load_ascii(std::istream &is)
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
void print_raw(std::ostream &os, bool pr_as_read_syntax=false) const
bool save_hdf5(octave_hdf5_id loc_id, const char *name, bool save_as_floats)
OCTINTERP_API void interpreter_try(octave::unwind_protect &)