X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fas3%2Fpool.h;h=09e73774f608d7b70058a4b8c92c475ee6cfb18b;hb=71c8242a8242eeb6e8b6dcf57239550a6f35c88a;hp=0d0cec515d4f825815a6120a72d2c6e5561c16a8;hpb=9ee97b0258700c746404edfcd9640a0a327eb21f;p=swftools.git diff --git a/lib/as3/pool.h b/lib/as3/pool.h index 0d0cec5..09e7377 100644 --- a/lib/as3/pool.h +++ b/lib/as3/pool.h @@ -120,14 +120,14 @@ typedef enum multiname_type RTQNAMELA=0x12, MULTINAMEA=0x0E, MULTINAMELA=0x1C, - MULTIX=0x1D + POSTFIXTYPE=0x1D } multiname_type_t; 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);