comparison src/variables.h @ 10071:e42b1bbd1052

variables.cc (get_top_level_value, set_top_level_value): new functions
author John W. Eaton <jwe@octave.org>
date Thu, 07 Jan 2010 15:07:19 -0500
parents eb63fbe60fab
children cd96d29c5efa
comparison
equal deleted inserted replaced
10070:897e62651c0a 10071:e42b1bbd1052
76 extern OCTINTERP_API octave_value lookup_function_handle (const std::string& nm); 76 extern OCTINTERP_API octave_value lookup_function_handle (const std::string& nm);
77 77
78 extern OCTINTERP_API octave_value 78 extern OCTINTERP_API octave_value
79 get_global_value (const std::string& nm, bool silent = false); 79 get_global_value (const std::string& nm, bool silent = false);
80 80
81 extern OCTINTERP_API void set_global_value (const std::string& nm, const octave_value& val); 81 extern OCTINTERP_API void
82 set_global_value (const std::string& nm, const octave_value& val);
83
84 extern OCTINTERP_API octave_value
85 get_top_level_value (const std::string& nm, bool silent = false);
86
87 extern OCTINTERP_API void
88 set_top_level_value (const std::string& nm, const octave_value& val);
82 89
83 extern OCTINTERP_API octave_value 90 extern OCTINTERP_API octave_value
84 set_internal_variable (bool& var, const octave_value_list& args, 91 set_internal_variable (bool& var, const octave_value_list& args,
85 int nargout, const char *nm); 92 int nargout, const char *nm);
86 93