git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
as3: introduced compile-time constants
[swftools.git]
/
lib
/
as3
/
registry.c
diff --git
a/lib/as3/registry.c
b/lib/as3/registry.c
index
28f57a8
..
b541b45
100644
(file)
--- a/
lib/as3/registry.c
+++ b/
lib/as3/registry.c
@@
-370,7
+370,7
@@
classinfo_t* slotinfo_gettype(slotinfo_t*f)
} else
return 0;
} else {
} else
return 0;
} else {
- return registry_getanytype();
+ return TYPE_ANY;
}
}
}
}
@@
-381,7
+381,6
@@
char registry_ispackage(char*package)
return !strncmp(package, "flash", 5);
}
// ----------------------- builtin types ------------------------------
return !strncmp(package, "flash", 5);
}
// ----------------------- builtin types ------------------------------
-classinfo_t* registry_getanytype() {return 0;}
char registry_isfunctionclass(classinfo_t*c) {
return (c && c->package && c->name &&
char registry_isfunctionclass(classinfo_t*c) {
return (c && c->package && c->name &&