--- a/src/squirrel.hpp Wed Jul 18 14:58:37 2007 +0000
+++ b/src/squirrel.hpp Wed Jul 18 15:09:16 2007 +0000
@@ -94,9 +94,10 @@
* @param class_name The name of the class of which we create an instance.
* @param real_instance The instance to the real class, if it represents a real class.
* @param instance Returning value with the pointer to the instance.
+ * @param release_hook Optional param to give a release hook.
* @return False if creating failed.
*/
- static bool CreateClassInstanceVM(HSQUIRRELVM vm, const char *class_name, void *real_instance, HSQOBJECT *instance);
+ static bool CreateClassInstanceVM(HSQUIRRELVM vm, const char *class_name, void *real_instance, HSQOBJECT *instance, SQRELEASEHOOK release_hook);
/**
* Exactly the same as CreateClassInstanceVM, only callable without instance of Squirrel.