X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fas3%2Fpool.h;h=09e73774f608d7b70058a4b8c92c475ee6cfb18b;hb=bb864e1a88e670c99d559c7dee4f74e9bf7d978b;hp=06fff7576fc170dff9d21e2597ff528e9b4fc6dc;hpb=3a6bca721cad44853f77a3e76f937d0ef5ff7bf5;p=swftools.git diff --git a/lib/as3/pool.h b/lib/as3/pool.h index 06fff75..09e7377 100644 --- a/lib/as3/pool.h +++ b/lib/as3/pool.h @@ -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);