branch | noai |
changeset 10649 | 9034b80fdbdb |
parent 9813 | 9646f7e37c31 |
child 10650 | 30fc5395b1b8 |
--- a/src/squirrel.hpp Mon May 19 22:28:27 2008 +0000 +++ b/src/squirrel.hpp Tue May 20 13:09:34 2008 +0000 @@ -49,6 +49,12 @@ * @return False if loading failed. */ bool LoadScript(const char *script); + static bool LoadScript(HSQUIRRELVM vm, const char *script); + + /** + * Load a file to a given VM. + */ + static SQRESULT LoadFile(HSQUIRRELVM vm, const char *filename, SQBool printerror); /** * Adds a function to the stack. Depending on the current state this means