improved C++ support

This commit is contained in:
GeeckoDev 2011-12-06 19:13:31 +01:00
parent c48c9f6940
commit 2cf51ca4ce

View File

@ -51,6 +51,10 @@
#ifndef GLIB2D_H
#define GLIB2D_H
#ifdef __cplusplus
extern "C" {
#endif
/**
* \def false
* \brief False boolean constant.
@ -796,4 +800,8 @@ void g2dResetScissor();
*/
void g2dSetScissor(int x, int y, int w, int h);
#ifdef __cplusplus
}
#endif
#endif