Utility library for providing native functionality to the Squirrel environment.

Dependents:   Squirrel

Revision:
4:13939f98fe5f
Parent:
3:22ae7e5068e4
diff -r 22ae7e5068e4 -r 13939f98fe5f include/sqbind.h
--- a/include/sqbind.h	Tue Dec 16 11:10:33 2014 +0000
+++ b/include/sqbind.h	Tue Dec 16 11:38:54 2014 +0000
@@ -188,7 +188,7 @@
 			return sqbind_throwerror(v,"Type '%s' is not instantiable.",name);
 		}
 
-		T *instance;
+		T *instance = 0;
 		
 		int params=sq_gettop(v);