remove namespaces from tokens again when they go out of scope
[swftools.git] / lib / as3 / pool.h
index 06fff75..09e7377 100644 (file)
@@ -127,7 +127,7 @@ char* access2str(int type);
 
 struct _namespace {
     U8 access;
-    char*name;
+    const char*name;
 };
 struct _namespace_set {
     namespace_list_t*namespaces;
@@ -178,6 +178,7 @@ int pool_register_multiname2(pool_t*pool, char*name);
 
 /* creation */
 namespace_t* namespace_new(U8 access, const char*name);
+namespace_t* namespace_new_namespace(const char*name);
 namespace_t* namespace_new_package(const char*name);
 namespace_t* namespace_new_packageinternal(const char*name);
 namespace_t* namespace_new_protected(const char*name);