Added few more stubs so that control reaches to DestroyDevice().
[mesa.git] / src / mesa / program / symbol_table.h
index 1027f476110dff42793f5f0a8e0ebf9d7bc8954b..6db2164fc21af09e083d1ab4e25035be267a39cd 100644 (file)
 #ifndef MESA_SYMBOL_TABLE_H
 #define MESA_SYMBOL_TABLE_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 struct _mesa_symbol_table;
 
 extern void _mesa_symbol_table_push_scope(struct _mesa_symbol_table *table);
@@ -30,20 +34,29 @@ extern void _mesa_symbol_table_push_scope(struct _mesa_symbol_table *table);
 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);
+                                         const char *name, void *declaration);
+
+extern int _mesa_symbol_table_replace_symbol(struct _mesa_symbol_table *table,
+                                             const char *name,
+                                             void *declaration);
 
-extern int _mesa_symbol_table_add_global_symbol(
-    struct _mesa_symbol_table *symtab, int name_space, const char *name,
-    void *declaration);
+extern int
+_mesa_symbol_table_add_global_symbol(struct _mesa_symbol_table *symtab,
+                                     const char *name,
+                                     void *declaration);
 
 extern int _mesa_symbol_table_symbol_scope(struct _mesa_symbol_table *table,
-    int name_space, const char *name);
+                                           const char *name);
 
-extern void *_mesa_symbol_table_find_symbol(
-    struct _mesa_symbol_table *symtab, int name_space, const char *name);
+extern void *_mesa_symbol_table_find_symbol(struct _mesa_symbol_table *symtab,
+                                            const char *name);
 
 extern struct _mesa_symbol_table *_mesa_symbol_table_ctor(void);
 
 extern void _mesa_symbol_table_dtor(struct _mesa_symbol_table *);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* MESA_SYMBOL_TABLE_H */