diff options
| author | coco875 <59367621+coco875@users.noreply.github.com> | 2025-08-05 23:20:55 +0200 |
|---|---|---|
| committer | Lywx <kiritodev01@gmail.com> | 2025-08-06 09:16:54 -0600 |
| commit | 052a13b38de75f5c7a7ea18cc28b08be06e29a15 (patch) | |
| tree | 74a07776e4ba8327f45930544ad1c4746035f40a /lib | |
| parent | a8934257b334bd912f16c4fd27101577aeafbf71 (diff) | |
add extern C for cpp
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/n64graphics/n64graphics.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/n64graphics/n64graphics.h b/lib/n64graphics/n64graphics.h index 98cbdcd..f842b3b 100644 --- a/lib/n64graphics/n64graphics.h +++ b/lib/n64graphics/n64graphics.h @@ -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_
\ No newline at end of file |
