return temp;
}
-int debug_hook(HSQUIRRELVM v);
-int error_handler(HSQUIRRELVM v);
+SQInteger debug_hook(HSQUIRRELVM v);
+SQInteger error_handler(HSQUIRRELVM v);
-int beginelement(HSQUIRRELVM v)
+SQInteger beginelement(HSQUIRRELVM v)
{
SQUserPointer up;
const SQChar *name;
return 0;
}
-int endelement(HSQUIRRELVM v)
+SQInteger endelement(HSQUIRRELVM v)
{
SQUserPointer up;
const SQChar *name;
return 0;
}
-int attribute(HSQUIRRELVM v)
+SQInteger attribute(HSQUIRRELVM v)
{
SQUserPointer up;
const SQChar *name,*value;
#include <squirrel.h>
#include "sqrdbg.h"
#include "sqdbgserver.h"
-int debug_hook(HSQUIRRELVM v);
-int error_handler(HSQUIRRELVM v);
+SQInteger debug_hook(HSQUIRRELVM v);
+SQInteger error_handler(HSQUIRRELVM v);
#include "serialize_state.inl"
return SQ_OK;
}
-int debug_hook(HSQUIRRELVM v)
+SQInteger debug_hook(HSQUIRRELVM v)
{
SQUserPointer up;
- int event_type,line;
+ SQInteger event_type,line;
const SQChar *src,*func;
sq_getinteger(v,2,&event_type);
sq_getstring(v,3,&src);
return 0;
}
-int error_handler(HSQUIRRELVM v)
+SQInteger error_handler(HSQUIRRELVM v)
{
SQUserPointer up;
const SQChar *sErr=NULL;