mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-26 03:31:12 +08:00
feat: Event 体系内核接线九 P 字段加 BuiltinId 加脏位加 ProtoKind
This commit is contained in:
@@ -144,6 +144,10 @@ impl oxide_runtime_api::VmHost for Vm {
|
||||
ProtoKind::BigUint64ArrayConstructor => &world.biguint64array_constructor,
|
||||
ProtoKind::MessagePortProto => &world.message_port_proto,
|
||||
ProtoKind::BroadcastChannelProto => &world.broadcast_channel_proto,
|
||||
ProtoKind::EventProto => &world.event_proto,
|
||||
ProtoKind::MessageEventProto => &world.message_event_proto,
|
||||
ProtoKind::ErrorEventProto => &world.error_event_proto,
|
||||
ProtoKind::CustomEventProto => &world.custom_event_proto,
|
||||
};
|
||||
P::as_ptr(p) as *mut JsObject
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user