#include "root.h" #include "ZigGlobalObject.h" #include "ObjectModule.h" namespace Zig { void generateNativeModule_BunObject(JSC::JSGlobalObject *lexicalGlobalObject, JSC::Identifier moduleKey, Vector &exportNames, JSC::MarkedArgumentBuffer &exportValues) { // FIXME: this does not add each property as a top level export JSC::VM &vm = lexicalGlobalObject->vm(); Zig::GlobalObject *globalObject = jsCast(lexicalGlobalObject); JSObject *object = globalObject->bunObject(); exportNames.append(vm.propertyNames->defaultKeyword); exportValues.append(object); } } // namespace Zig