comparison src/variables.h @ 4319:05973ead74eb

[project @ 2003-02-13 21:03:04 by jwe]
author jwe
date Thu, 13 Feb 2003 21:03:04 +0000
parents 610671be8792
children 813effe14ee1
comparison
equal deleted inserted replaced
4318:115bffcecfd3 4319:05973ead74eb
69 std::string& hint); 69 std::string& hint);
70 70
71 extern bool 71 extern bool
72 looks_like_struct (const std::string& text); 72 looks_like_struct (const std::string& text);
73 73
74 extern int
75 symbol_exist (const std::string& name,
76 const std::string& type = std::string ());
77
74 extern bool lookup (symbol_record *s, bool exec_script = true); 78 extern bool lookup (symbol_record *s, bool exec_script = true);
75 79
76 extern symbol_record * 80 extern symbol_record *
77 lookup_by_name (const std::string& nm, bool exec_script = true); 81 lookup_by_name (const std::string& nm, bool exec_script = true);
78 82
104 bind_builtin_variable (const std::string&, const octave_value&, 108 bind_builtin_variable (const std::string&, const octave_value&,
105 bool protect = false, bool eternal = false, 109 bool protect = false, bool eternal = false,
106 symbol_record::change_function f = 0, 110 symbol_record::change_function f = 0,
107 const std::string& help = std::string ()); 111 const std::string& help = std::string ());
108 112
109 extern int 113 extern void mlock (const std::string&);
110 symbol_exist (const std::string& name, 114 extern void munlock (const std::string&);
111 const std::string& type = std::string ()); 115 extern bool mislocked (const std::string&);
112 116
113 // Symbol table for symbols at the top level. 117 // Symbol table for symbols at the top level.
114 extern symbol_table *top_level_sym_tab; 118 extern symbol_table *top_level_sym_tab;
115 119
116 // Symbol table for the current scope. 120 // Symbol table for the current scope.