X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fas3%2Fregistry.c;h=5f45c6a836a18fcbb6fe574a9da7178cecf2d00e;hb=4dacf8e5890fb8cd0f53afbd4305c8b9ff9e7986;hp=5b6d552afe14fa8bfd5ff12d18de032d7aaa68cb;hpb=e4687b3aa2aed49fb16ba9e9561344d808750297;p=swftools.git diff --git a/lib/as3/registry.c b/lib/as3/registry.c index 5b6d552..5f45c6a 100644 --- a/lib/as3/registry.c +++ b/lib/as3/registry.c @@ -435,6 +435,11 @@ classinfo_t* registry_getregexpclass() { if(!c) c = (classinfo_t*)registry_safefind("", "RegExp"); return c; } +classinfo_t* registry_getdateclass() { + static classinfo_t*c = 0; + if(!c) c = (classinfo_t*)registry_safefind("", "Date"); + return c; +} classinfo_t* registry_getxmlclass() { static classinfo_t*c = 0; if(!c) c = (classinfo_t*)registry_safefind("", "XML");