Browse Source

Added an observation to come back and lookt at it

mingodad 8 years ago
parent
commit
540ec6a395
1 changed files with 1 additions and 1 deletions
  1. 1 1
      SquiLu/sqstdlib/sqstdio.cpp

+ 1 - 1
SquiLu/sqstdlib/sqstdio.cpp

@@ -206,7 +206,7 @@ static SQRESULT _file_close(HSQUIRRELVM v)
 //bindings
 #define _DECL_FILE_FUNC(name,nparams,typecheck) {_SC(#name),_file_##name,nparams,typecheck}
 static const SQRegFunction _file_methods[] = {
-    _DECL_FILE_FUNC(constructor,3,_SC("x")),
+    _DECL_FILE_FUNC(constructor,3,_SC("x")), //TODO if we change "x" to "xss" it stops working
     _DECL_FILE_FUNC(_typeof,1,_SC("x")),
     _DECL_FILE_FUNC(close,1,_SC("x")),
     {NULL,(SQFUNCTION)0,0,NULL}