mirror of
https://github.com/albertodemichelis/squirrel.git
synced 2026-01-12 22:48:40 +01:00
Revert "add some stack-condition error checking to sqstdlib registration routines"
This reverts part of commit b9fc931752.
This commit is contained in:
@ -473,8 +473,6 @@ static const SQRegFunction stringlib_funcs[]={
|
||||
|
||||
SQInteger sqstd_register_stringlib(HSQUIRRELVM v)
|
||||
{
|
||||
if(sq_gettype(v,-1) != OT_TABLE)
|
||||
return sq_throwerror(v,_SC("table expected"));
|
||||
sq_pushstring(v,_SC("regexp"),-1);
|
||||
sq_newclass(v,SQFalse);
|
||||
SQInteger i = 0;
|
||||
|
||||
Reference in New Issue
Block a user