From ff8da4dad1a610ea64ca3c56ca18718bdd12ce48 Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Fri, 5 Feb 2021 15:08:57 +0200 Subject: [PATCH] Update squirrel.h --- vendor/Squirrel/include/squirrel.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vendor/Squirrel/include/squirrel.h b/vendor/Squirrel/include/squirrel.h index 4f9bae39..d3d51a54 100644 --- a/vendor/Squirrel/include/squirrel.h +++ b/vendor/Squirrel/include/squirrel.h @@ -64,8 +64,16 @@ struct SQOuter; //#define SQUNICODE //#endif +#ifdef __cplusplus +} /*extern "C"*/ +#endif + #include "sqconfig.h" +#ifdef __cplusplus +extern "C" { +#endif + #define SQUIRREL_VERSION _SC("Squirrel 3.1 stable") #define SQUIRREL_COPYRIGHT _SC("Copyright (C) 2003-2017 Alberto Demichelis") #define SQUIRREL_AUTHOR _SC("Alberto Demichelis")