mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
glapi: Add extern "C" to glapi_priv.h
* The Haiku glapi has a C++ wrapper around the dispatch code. Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
915d808a56
commit
d27b114eaf
1 changed files with 8 additions and 0 deletions
|
|
@ -49,6 +49,10 @@ typedef void *GLeglImageOES;
|
|||
#include "glapi/glapi.h"
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* getproc */
|
||||
|
||||
extern void
|
||||
|
|
@ -106,4 +110,8 @@ get_entrypoint_address(unsigned int functionOffset);
|
|||
#define MAX_EXTENSION_FUNCS 256
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue