(svn r23293) -Codechange: make LoadScript/LoadFile non-static

This commit is contained in:
truebrain
2011-11-23 13:37:48 +00:00
parent 900b244ffd
commit 7700e274de
4 changed files with 7 additions and 6 deletions

View File

@@ -69,12 +69,12 @@ public:
* @return False if loading failed.
*/
bool LoadScript(const char *script);
static bool LoadScript(HSQUIRRELVM vm, const char *script, bool in_root = true);
bool LoadScript(HSQUIRRELVM vm, const char *script, bool in_root = true);
/**
* Load a file to a given VM.
*/
static SQRESULT LoadFile(HSQUIRRELVM vm, const char *filename, SQBool printerror);
SQRESULT LoadFile(HSQUIRRELVM vm, const char *filename, SQBool printerror);
/**
* Adds a function to the stack. Depending on the current state this means