Changeset - r21647:7f9a2c7abc6d
[Not reviewed]
master
0 7 0
rubidium - 10 years ago 2014-09-06 20:05:07
rubidium@openttd.org
(svn r26779) -Cleanup [Squirrel]: remove extern "C" statements; we won't be exporting things to C from our squirrel
7 files changed with 0 insertions and 57 deletions:
0 comments (0 inline, 0 general)
src/3rdparty/squirrel/include/sqstdaux.h
Show inline comments
 
@@ -2,15 +2,7 @@
 
#ifndef _SQSTD_AUXLIB_H_
 
#define _SQSTD_AUXLIB_H_
 

	
 
#ifdef __cplusplus
 
extern "C" {
 
#endif
 

	
 
SQUIRREL_API void sqstd_seterrorhandlers(HSQUIRRELVM v);
 
SQUIRREL_API void sqstd_printcallstack(HSQUIRRELVM v);
 

	
 
#ifdef __cplusplus
 
} /*extern "C"*/
 
#endif
 

	
 
#endif /* _SQSTD_AUXLIB_H_ */
src/3rdparty/squirrel/include/sqstdblob.h
Show inline comments
 
@@ -2,19 +2,11 @@
 
#ifndef _SQSTDBLOB_H_
 
#define _SQSTDBLOB_H_
 

	
 
#ifdef __cplusplus
 
extern "C" {
 
#endif
 

	
 
SQUIRREL_API SQUserPointer sqstd_createblob(HSQUIRRELVM v, SQInteger size);
 
SQUIRREL_API SQRESULT sqstd_getblob(HSQUIRRELVM v,SQInteger idx,SQUserPointer *ptr);
 
SQUIRREL_API SQInteger sqstd_getblobsize(HSQUIRRELVM v,SQInteger idx);
 

	
 
SQUIRREL_API SQRESULT sqstd_register_bloblib(HSQUIRRELVM v);
 

	
 
#ifdef __cplusplus
 
} /*extern "C"*/
 
#endif
 

	
 
#endif /*_SQSTDBLOB_H_*/
 

	
src/3rdparty/squirrel/include/sqstdio.h
Show inline comments
 
@@ -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_writeclosure
 

	
 
SQUIRREL_API SQRESULT sqstd_register_iolib(HSQUIRRELVM v);
 

	
 
#ifdef __cplusplus
 
} /*extern "C"*/
 
#endif
 

	
 
#endif /*_SQSTDIO_H_*/
 

	
src/3rdparty/squirrel/include/sqstdmath.h
Show inline comments
 
@@ -2,14 +2,6 @@
 
#ifndef _SQSTD_MATH_H_
 
#define _SQSTD_MATH_H_
 

	
 
#ifdef __cplusplus
 
extern "C" {
 
#endif
 

	
 
SQUIRREL_API SQRESULT sqstd_register_mathlib(HSQUIRRELVM v);
 

	
 
#ifdef __cplusplus
 
} /*extern "C"*/
 
#endif
 

	
 
#endif /*_SQSTD_MATH_H_*/
src/3rdparty/squirrel/include/sqstdstring.h
Show inline comments
 
@@ -2,10 +2,6 @@
 
#ifndef _SQSTD_STRING_H_
 
#define _SQSTD_STRING_H_
 

	
 
#ifdef __cplusplus
 
extern "C" {
 
#endif
 

	
 
typedef unsigned int SQRexBool;
 
typedef struct SQRex SQRex;
 

	
 
@@ -26,8 +22,4 @@ SQUIRREL_API SQRESULT sqstd_format(HSQUI
 

	
 
SQUIRREL_API SQRESULT sqstd_register_stringlib(HSQUIRRELVM v);
 

	
 
#ifdef __cplusplus
 
} /*extern "C"*/
 
#endif
 

	
 
#endif /*_SQSTD_STRING_H_*/
src/3rdparty/squirrel/include/sqstdsystem.h
Show inline comments
 
@@ -2,14 +2,6 @@
 
#ifndef _SQSTD_SYSTEMLIB_H_
 
#define _SQSTD_SYSTEMLIB_H_
 

	
 
#ifdef __cplusplus
 
extern "C" {
 
#endif
 

	
 
SQUIRREL_API SQInteger sqstd_register_systemlib(HSQUIRRELVM v);
 

	
 
#ifdef __cplusplus
 
} /*extern "C"*/
 
#endif
 

	
 
#endif /* _SQSTD_SYSTEMLIB_H_ */
src/3rdparty/squirrel/include/squirrel.h
Show inline comments
 
@@ -31,10 +31,6 @@ to the following restrictions:
 
#ifndef _SQUIRREL_H_
 
#define _SQUIRREL_H_
 

	
 
#ifdef __cplusplus
 
extern "C" {
 
#endif
 

	
 
#if defined(_MSC_VER)
 
# define inline __forceinline
 
#endif /* _MSC_VER */
 
@@ -395,8 +391,4 @@ SQUIRREL_API void sq_setdebughook(HSQUIR
 
#define SQ_FAILED(res) (res<0)
 
#define SQ_SUCCEEDED(res) (res>=0)
 

	
 
#ifdef __cplusplus
 
} /*extern "C"*/
 
#endif
 

	
 
#endif /*_SQUIRREL_H_*/
0 comments (0 inline, 0 general)