diff --git a/ruapu.h b/ruapu.h index e476256..f97de93 100644 --- a/ruapu.h +++ b/ruapu.h @@ -7,6 +7,10 @@ #ifndef RUAPU_H #define RUAPU_H +#ifdef __cplusplus +extern "C" { +#endif + void ruapu_init(); int ruapu_supports(const char* isa); @@ -319,4 +323,8 @@ int ruapu_supports(const char* isa) #endif // RUAPU_IMPLEMENTATION +#ifdef __cplusplus +} +#endif + #endif // RUAPU_H