summaryrefslogtreecommitdiffstats
path: root/symbol_table.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2010-03-19 15:32:57 -0700
committerIan Romanick <[email protected]>2010-03-19 15:32:57 -0700
commit95517faf6931765408c697e3d60e4469616ad1d3 (patch)
treef777e480a140eacad03257ad93522cd71c485732 /symbol_table.h
parent8bde4cec6b189564b1f2d58514bd7e7a4b40f714 (diff)
Add function to determine the scope where a variable is declared
Diffstat (limited to 'symbol_table.h')
-rw-r--r--symbol_table.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/symbol_table.h b/symbol_table.h
index d3f65e30a92..3a9994c1ac9 100644
--- a/symbol_table.h
+++ b/symbol_table.h
@@ -37,6 +37,9 @@ extern void _mesa_symbol_table_pop_scope(struct _mesa_symbol_table *table);
extern int _mesa_symbol_table_add_symbol(struct _mesa_symbol_table *symtab,
int name_space, const char *name, void *declaration);
+extern int _mesa_symbol_table_symbol_scope(struct _mesa_symbol_table *table,
+ int name_space, const char *name);
+
extern void *_mesa_symbol_table_find_symbol(
struct _mesa_symbol_table *symtab, int name_space, const char *name);