2021-01-30 07:51:39 +01:00
|
|
|
/*
|
|
|
|
see copyright notice in squirrel.h
|
|
|
|
*/
|
|
|
|
#ifndef _SQUIRRELEX_H_
|
|
|
|
#define _SQUIRRELEX_H_
|
|
|
|
|
|
|
|
#include <squirrel.h>
|
|
|
|
#include <stdarg.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
SQUIRREL_API SQRESULT sq_throwerrorf(HSQUIRRELVM v,const SQChar *err,...);
|
|
|
|
SQUIRREL_API SQRESULT sq_pushstringf(HSQUIRRELVM v,const SQChar *s,...);
|
|
|
|
SQUIRREL_API SQRESULT sq_vpushstringf(HSQUIRRELVM v,const SQChar *s,va_list l);
|
|
|
|
SQUIRREL_API SQRESULT sq_getnativeclosurepointer(HSQUIRRELVM v,SQInteger idx,SQFUNCTION *f);
|
2021-01-30 18:39:44 +01:00
|
|
|
SQUIRREL_API SQRESULT sq_arrayreserve(HSQUIRRELVM v,SQInteger idx,SQInteger newcap);
|
2021-01-30 07:51:39 +01:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /*extern "C"*/
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /*_SQUIRRELEX_H_*/
|