diff options
author | 2023-10-14 16:24:59 -0700 | |
---|---|---|
committer | 2023-10-14 16:24:59 -0700 | |
commit | 802a6731d59c447ae513131290990357e8d778c1 (patch) | |
tree | ee6cc019318d1c52cafaca1f151f96812e03e041 /src/bun.js/bindings/ZigGeneratedClasses+lazyStructureImpl.h | |
parent | 7f5eddc09668592c754d6aad12015b8144d15a76 (diff) | |
download | bun-802a6731d59c447ae513131290990357e8d778c1.tar.gz bun-802a6731d59c447ae513131290990357e8d778c1.tar.zst bun-802a6731d59c447ae513131290990357e8d778c1.zip |
wip
Diffstat (limited to 'src/bun.js/bindings/ZigGeneratedClasses+lazyStructureImpl.h')
-rw-r--r-- | src/bun.js/bindings/ZigGeneratedClasses+lazyStructureImpl.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/bun.js/bindings/ZigGeneratedClasses+lazyStructureImpl.h b/src/bun.js/bindings/ZigGeneratedClasses+lazyStructureImpl.h index 84d3df7a0..94d43e760 100644 --- a/src/bun.js/bindings/ZigGeneratedClasses+lazyStructureImpl.h +++ b/src/bun.js/bindings/ZigGeneratedClasses+lazyStructureImpl.h @@ -191,6 +191,18 @@ ALWAYS_INLINE void GlobalObject::initGeneratedLazyClasses() { init.setStructure(WebCore::JSNodeJSFS::createStructure(init.vm, init.global, init.prototype)); init.setConstructor(WebCore::JSNodeJSFS::createConstructor(init.vm, init.global, init.prototype)); }); + m_JSPostgresSQLConnection.initLater( + [](LazyClassStructure::Initializer& init) { + init.setPrototype(WebCore::JSPostgresSQLConnection::createPrototype(init.vm, reinterpret_cast<Zig::GlobalObject*>(init.global))); + init.setStructure(WebCore::JSPostgresSQLConnection::createStructure(init.vm, init.global, init.prototype)); + init.setConstructor(WebCore::JSPostgresSQLConnection::createConstructor(init.vm, init.global, init.prototype)); + }); + m_JSPostgresSQLQuery.initLater( + [](LazyClassStructure::Initializer& init) { + init.setPrototype(WebCore::JSPostgresSQLQuery::createPrototype(init.vm, reinterpret_cast<Zig::GlobalObject*>(init.global))); + init.setStructure(WebCore::JSPostgresSQLQuery::createStructure(init.vm, init.global, init.prototype)); + init.setConstructor(WebCore::JSPostgresSQLQuery::createConstructor(init.vm, init.global, init.prototype)); + }); m_JSRequest.initLater( [](LazyClassStructure::Initializer& init) { init.setPrototype(WebCore::JSRequest::createPrototype(init.vm, reinterpret_cast<Zig::GlobalObject*>(init.global))); @@ -341,6 +353,8 @@ void GlobalObject::visitGeneratedLazyClasses(GlobalObject *thisObject, Visitor& thisObject->m_JSMD5.visit(visitor); thisObject->m_JSMatchedRoute.visit(visitor); thisObject->m_JSNodeJSFS.visit(visitor); + thisObject->m_JSPostgresSQLConnection.visit(visitor); + thisObject->m_JSPostgresSQLQuery.visit(visitor); thisObject->m_JSRequest.visit(visitor); thisObject->m_JSResolveMessage.visit(visitor); thisObject->m_JSResponse.visit(visitor); |