add extern C for cpp

This commit is contained in:
coco875
2025-08-06 09:16:54 -06:00
committed by Lywx
parent a8934257b3
commit 052a13b38d
+8
View File
@@ -1,6 +1,10 @@
#ifndef N64GRAPHICS_H_
#define N64GRAPHICS_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
// intermediate formats
@@ -125,4 +129,8 @@ const char *n64graphics_get_read_version(void);
// get version of underlying graphics writing library
const char *n64graphics_get_write_version(void);
#ifdef __cplusplus
}
#endif
#endif // N64GRAPHICS_H_