X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fas3%2Fregistry.c;h=eb4e9c948f1fe215cab1050a1e3c710bed01ddc3;hb=3f9b43eec2a339e1c60a4139556b6153f8b3cc65;hp=5a688bd75671999ae9e7ef5b98c9514737e28649;hpb=207d9e7c1d108915492ec59cfc3376b30e016b78;p=swftools.git diff --git a/lib/as3/registry.c b/lib/as3/registry.c index 5a688bd..eb4e9c9 100644 --- a/lib/as3/registry.c +++ b/lib/as3/registry.c @@ -1,3 +1,26 @@ +/* registry.c + + Routines for compiling Flash2 AVM2 ABC Actionscript + + Extension module for the rfxswf library. + Part of the swftools package. + + Copyright (c) 2008 Matthias Kramm + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ + #include "pool.h" #include "registry.h" @@ -28,6 +51,9 @@ static multiname_t static_int_class = { static multiname_t static_uint_class = { QNAME, &static_empty_ns, 0, "uint" }; +static multiname_t static_null_class = { + QNAME, &static_empty_ns, 0, "null" +}; static multiname_t static_movieclip_class = { QNAME, &static_flash_display_ns, 0, "MovieClip" }; @@ -37,6 +63,7 @@ multiname_t* registry_getanytype() {return &static_anytype_class;} multiname_t* registry_getstringclass() {return &static_string_class;} multiname_t* registry_getintclass() {return &static_int_class;} multiname_t* registry_getuintclass() {return &static_uint_class;} +multiname_t* registry_getnullclass() {return &static_null_class;} multiname_t* registry_getbooleanclass() {return &static_boolean_class;} multiname_t* registry_getnumberclass() {return &static_number_class;} multiname_t* registry_getMovieClip() {return &static_movieclip_class;}