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:
Alexander von Gluck IV 2015-05-13 14:22:00 -04:00
parent 915d808a56
commit d27b114eaf

View file

@ -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