comparison src/variables.h @ 4954:ed0f3cb6d3d4

[project @ 2004-09-01 21:24:53 by jwe]
author jwe
date Wed, 01 Sep 2004 21:24:54 +0000
parents bdb307dc8613
children 352d228d409b
comparison
equal deleted inserted replaced
4953:7a3a480e8645 4954:ed0f3cb6d3d4
75 looks_like_struct (const std::string& text); 75 looks_like_struct (const std::string& text);
76 76
77 extern int 77 extern int
78 symbol_exist (const std::string& name, const std::string& type = "any"); 78 symbol_exist (const std::string& name, const std::string& type = "any");
79 79
80 extern std::string
81 unique_symbol_name (const std::string& basename);
82
80 extern bool lookup (symbol_record *s, bool exec_script = true); 83 extern bool lookup (symbol_record *s, bool exec_script = true);
81 84
82 extern symbol_record * 85 extern symbol_record *
83 lookup_by_name (const std::string& nm, bool exec_script = true); 86 lookup_by_name (const std::string& nm, bool exec_script = true);
84 87
114 117
115 extern void mlock (const std::string&); 118 extern void mlock (const std::string&);
116 extern void munlock (const std::string&); 119 extern void munlock (const std::string&);
117 extern bool mislocked (const std::string&); 120 extern bool mislocked (const std::string&);
118 121
122 extern bool clear_function (const std::string& nm);
123
119 // Symbol table for symbols at the top level. 124 // Symbol table for symbols at the top level.
120 extern symbol_table *top_level_sym_tab; 125 extern symbol_table *top_level_sym_tab;
121 126
122 // Symbol table for the current scope. 127 // Symbol table for the current scope.
123 extern symbol_table *curr_sym_tab; 128 extern symbol_table *curr_sym_tab;