Utility library for providing native functionality to the Squirrel environment.
Diff: include/sqbind.h
- Revision:
- 2:3ae6f775f5d5
- Parent:
- 1:1f66106257a0
- Child:
- 3:22ae7e5068e4
--- a/include/sqbind.h Tue Dec 16 11:05:52 2014 +0000 +++ b/include/sqbind.h Tue Dec 16 11:08:57 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);