rename as3 -> avm2 since we don't actually deal with actionscript anywhere
[swf2.git] / compile / swfclass.lisp
blobd3049f545cd8259b4090b2459b85883891f42df1
1 (in-package :avm2-compiler)
3 ;;;; code for defining vm level classes
5 (defmacro def-swf-class (name ns super (&rest properties) ((&rest constructor-args) &body constructor))
6 `(setf (gethash ',name (classes *symbol-table*))
7 (list ',(avm2-asm::symbol-to-qname-list name)
8 ',ns
9 ',super
10 ',properties
11 (list ',constructor-args ',constructor))))