aboutsummaryrefslogtreecommitdiff
path: root/src/script/luaopen_types.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-05-18 15:27:59 +0800
committerchai <chaifix@163.com>2018-05-18 15:27:59 +0800
commit9458eb868631b29e00182c37f1c7e46981b68edd (patch)
tree2dea921057473e91e8267d997c743896887f7618 /src/script/luaopen_types.h
parent1b773ad2c250e09c09c065eb3eec64bfebde09ca (diff)
GC
Diffstat (limited to 'src/script/luaopen_types.h')
-rw-r--r--src/script/luaopen_types.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/script/luaopen_types.h b/src/script/luaopen_types.h
index 8c1f2a6..c6ce202 100644
--- a/src/script/luaopen_types.h
+++ b/src/script/luaopen_types.h
@@ -8,7 +8,7 @@
#define TYPE_FONT "Font"
// audio module
-#define TYPE_SOUND "Sound"
+#define TYPE_SOURCE "Source"
class Proxy
{
@@ -20,6 +20,10 @@ public:
}
void* object;
+
+ ~Proxy()
+ {
+ }
};
#endif