diff options
author | rubidium <rubidium@openttd.org> | 2014-09-06 20:05:07 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2014-09-06 20:05:07 +0000 |
commit | a47874754c6dce90b0080c9d40e5c5b1a6114258 (patch) | |
tree | 2069bc9180d7561026650878fb91769454f1de1f /src/3rdparty/squirrel/include/sqstdio.h | |
parent | 9543f4ed1e234bcd76562100db74c8411c54b3b6 (diff) | |
download | openttd-a47874754c6dce90b0080c9d40e5c5b1a6114258.tar.xz |
(svn r26779) -Cleanup [Squirrel]: remove extern "C" statements; we won't be exporting things to C from our squirrel
Diffstat (limited to 'src/3rdparty/squirrel/include/sqstdio.h')
-rw-r--r-- | src/3rdparty/squirrel/include/sqstdio.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/3rdparty/squirrel/include/sqstdio.h b/src/3rdparty/squirrel/include/sqstdio.h index 5eaec31c6..094d7c244 100644 --- a/src/3rdparty/squirrel/include/sqstdio.h +++ b/src/3rdparty/squirrel/include/sqstdio.h @@ -2,8 +2,6 @@ #ifndef _SQSTDIO_H_ #define _SQSTDIO_H_ -#ifdef __cplusplus - #define SQSTD_STREAM_TYPE_TAG 0x80000000 struct SQStream { @@ -18,9 +16,6 @@ struct SQStream { virtual bool EOS() = 0; }; -extern "C" { -#endif - #define SQ_SEEK_CUR 0 #define SQ_SEEK_END 1 #define SQ_SEEK_SET 2 @@ -46,9 +41,5 @@ SQUIRREL_API SQRESULT sqstd_writeclosuretofile(HSQUIRRELVM v,const SQChar *filen SQUIRREL_API SQRESULT sqstd_register_iolib(HSQUIRRELVM v); -#ifdef __cplusplus -} /*extern "C"*/ -#endif - #endif /*_SQSTDIO_H_*/ |