git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
0743b03
)
added some comments
author
kramm
<kramm>
Sun, 23 Nov 2008 13:57:38 +0000
(13:57 +0000)
committer
kramm
<kramm>
Sun, 23 Nov 2008 13:57:38 +0000
(13:57 +0000)
lib/as3/pool.c
patch
|
blob
|
history
diff --git
a/lib/as3/pool.c
b/lib/as3/pool.c
index
3a7e1df
..
fc92648
100644
(file)
--- a/
lib/as3/pool.c
+++ b/
lib/as3/pool.c
@@
-336,12
+336,12
@@
void pool_read(pool_t*pool, TAG*tag)
NEW(multiname_t,m);
m->type = swf_GetU8(tag);
if(m->type==0x07 || m->type==0x0d) {
NEW(multiname_t,m);
m->type = swf_GetU8(tag);
if(m->type==0x07 || m->type==0x0d) {
- int namespace_index = swf_GetU30(tag);
+ int namespace_index = swf_GetU30(tag); // 0 = '*' (any)
m->ns = (namespace_t*)array_getvalue(pool->namespaces, namespace_index);
int name_index = swf_GetU30(tag);
m->name = array_getkey(pool->strings, name_index);
} else if(m->type==0x0f || m->type==0x10) {
m->ns = (namespace_t*)array_getvalue(pool->namespaces, namespace_index);
int name_index = swf_GetU30(tag);
m->name = array_getkey(pool->strings, name_index);
} else if(m->type==0x0f || m->type==0x10) {
- int name_index = swf_GetU30(tag);
+ int name_index = swf_GetU30(tag); // 0 = '*' (any name)
m->name = array_getkey(pool->strings, name_index);
} else if(m->type==0x11 || m->type==0x12) {
} else if(m->type==0x09 || m->type==0x0e) {
m->name = array_getkey(pool->strings, name_index);
} else if(m->type==0x11 || m->type==0x12) {
} else if(m->type==0x09 || m->type==0x0e) {