280
280
// C::B patch: Make the compiler happy by using const
281
SQRESULT declare_stream(HSQUIRRELVM v, const SQChar* name, SQUserPointer typetag, const SQChar* reg_name,SQRegFunction *methods,SQRegFunction *globals)
281
SQRESULT declare_stream(HSQUIRRELVM v,const SQChar* name,SQUserPointer typetag,const SQChar* reg_name,SQRegFunction *methods,SQRegFunction *globals)
283
283
if(sq_gettype(v,-1) != OT_TABLE)
284
284
return sq_throwerror(v,_SC("table expected"));