mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 07:00:12 +01:00
st/mesa: add extern "C" to st_context.h
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
This commit is contained in:
parent
d260348130
commit
44c8957cfe
1 changed files with 10 additions and 0 deletions
|
|
@ -33,6 +33,12 @@
|
||||||
#include "state_tracker/st_api.h"
|
#include "state_tracker/st_api.h"
|
||||||
#include "main/fbobject.h"
|
#include "main/fbobject.h"
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
struct bitmap_cache;
|
struct bitmap_cache;
|
||||||
struct dd_function_table;
|
struct dd_function_table;
|
||||||
struct draw_context;
|
struct draw_context;
|
||||||
|
|
@ -278,4 +284,8 @@ extern void
|
||||||
st_destroy_context(struct st_context *st);
|
st_destroy_context(struct st_context *st);
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue