|
@@ -32,6 +32,10 @@
|
|
|
|
|
|
#include "raylib.h"
|
|
|
|
|
|
+#ifdef __cplusplus
|
|
|
+extern "C" {
|
|
|
+#endif
|
|
|
+
|
|
|
// basic API
|
|
|
void rlImGuiSetup(bool dark);
|
|
|
void rlImGuiBegin();
|
|
@@ -47,3 +51,7 @@ void rlImGuiReloadFonts();
|
|
|
void rlImGuiImage(const Texture *image);
|
|
|
void rlImGuiImageSize(const Texture *image, int width, int height);
|
|
|
void rlImGuiImageRect(const Texture* image, int destWidth, int destHeight, Rectangle sourceRect);
|
|
|
+
|
|
|
+#ifdef __cplusplus
|
|
|
+}
|
|
|
+#endif
|