1908d85f65
Early class construction is tricky - `Object` defines properties that need to get copied into subclass instance vtables, but `Class` defines `prototype`, which needs to be copied into the *class* vtable of `Object`. To accomplish this, I've split out instance vtable initialization into a separate `init_instance_vtable`. We call `object_class.init_instance_vtable` before `class_class.init_instance_vtable`, but do things in the opposite order for `into_finished_class` (`class_class.into_finished_class` is called before `object_class.into_finished_class`) |
||
---|---|---|
.. | ||
assets | ||
build_playerglobal | ||
macros | ||
src | ||
Cargo.toml | ||
build.rs |