From 5531aa9a688340d90b0600fe2655d8cce4b76da4 Mon Sep 17 00:00:00 2001 From: kramm Date: Tue, 30 Dec 2008 23:01:50 +0000 Subject: [PATCH] added ACCESS_PUBLIC as synonym to ACCESS_PACKAGE --- lib/as3/pool.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/as3/pool.h b/lib/as3/pool.h index 37cfdab..50f1b3a 100644 --- a/lib/as3/pool.h +++ b/lib/as3/pool.h @@ -87,7 +87,7 @@ struct _constant { double f; int i; unsigned int u; - string_t* s; + char*s; namespace_t*ns; }; int type; @@ -97,7 +97,6 @@ constant_t* constant_new_int(int x); constant_t* constant_new_uint(unsigned int x); constant_t* constant_new_float(double x); constant_t* constant_new_string(char*s); -constant_t* constant_new_string2(const char*s, int len); constant_t* constant_new_namespace(namespace_t*ns); constant_t* constant_new_true(); constant_t* constant_new_false(); @@ -149,8 +148,7 @@ char* namespace_tostring(namespace_t*ns); int pool_lookup_int(pool_t*pool, int i); unsigned int pool_lookup_uint(pool_t*pool, int i); double pool_lookup_float(pool_t*pool, int i); -const char*pool_lookup_string(pool_t*pool, int i); -string_t pool_lookup_string2(pool_t*pool, int i); +char*pool_lookup_string(pool_t*pool, int i); namespace_t*pool_lookup_namespace(pool_t*pool, int i); namespace_set_t*pool_lookup_namespace_set(pool_t*pool, int i); multiname_t*pool_lookup_multiname(pool_t*pool, int i); @@ -169,7 +167,6 @@ int pool_register_int(pool_t*p, int i); int pool_register_uint(pool_t*p, unsigned int i); int pool_register_float(pool_t*p, double d); int pool_register_string(pool_t*pool, const char*s); -int pool_register_string2(pool_t*pool, string_t*s); int pool_register_namespace(pool_t*pool, namespace_t*ns); int pool_register_namespace_set(pool_t*pool, namespace_set_t*set); int pool_register_multiname(pool_t*pool, multiname_t*n); -- 1.7.10.4