mesa: annotate functions for C linkage
i.e. add extern C {} in program/symbol_table.h It will allow us remove a workaround we have elsewhere in the code. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:

committed by
Emil Velikov

parent
e776e0385c
commit
1451bcb125
@@ -23,6 +23,10 @@
|
|||||||
#ifndef MESA_SYMBOL_TABLE_H
|
#ifndef MESA_SYMBOL_TABLE_H
|
||||||
#define MESA_SYMBOL_TABLE_H
|
#define MESA_SYMBOL_TABLE_H
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
struct _mesa_symbol_table;
|
struct _mesa_symbol_table;
|
||||||
|
|
||||||
extern void _mesa_symbol_table_push_scope(struct _mesa_symbol_table *table);
|
extern void _mesa_symbol_table_push_scope(struct _mesa_symbol_table *table);
|
||||||
@@ -51,4 +55,8 @@ extern struct _mesa_symbol_table *_mesa_symbol_table_ctor(void);
|
|||||||
|
|
||||||
extern void _mesa_symbol_table_dtor(struct _mesa_symbol_table *);
|
extern void _mesa_symbol_table_dtor(struct _mesa_symbol_table *);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* MESA_SYMBOL_TABLE_H */
|
#endif /* MESA_SYMBOL_TABLE_H */
|
||||||
|
Reference in New Issue
Block a user