aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/ZigGeneratedClasses+lazyStructureImpl.h
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-01-02 21:05:56 -0800
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-01-02 21:05:56 -0800
commitea2b65d4834d864029299809fb23f40ba2a56f90 (patch)
treeb178b1c6327ed9b450b8764b0c13dea63112ee55 /src/bun.js/bindings/ZigGeneratedClasses+lazyStructureImpl.h
parent80c2da73ef59f0170f1c92551c948a1b285da17c (diff)
downloadbun-ea2b65d4834d864029299809fb23f40ba2a56f90.tar.gz
bun-ea2b65d4834d864029299809fb23f40ba2a56f90.tar.zst
bun-ea2b65d4834d864029299809fb23f40ba2a56f90.zip
Draw the owljarred/pg
Diffstat (limited to 'src/bun.js/bindings/ZigGeneratedClasses+lazyStructureImpl.h')
-rw-r--r--src/bun.js/bindings/ZigGeneratedClasses+lazyStructureImpl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/bun.js/bindings/ZigGeneratedClasses+lazyStructureImpl.h b/src/bun.js/bindings/ZigGeneratedClasses+lazyStructureImpl.h
index 8b4240876..987b298a3 100644
--- a/src/bun.js/bindings/ZigGeneratedClasses+lazyStructureImpl.h
+++ b/src/bun.js/bindings/ZigGeneratedClasses+lazyStructureImpl.h
@@ -95,6 +95,12 @@ void GlobalObject::initGeneratedLazyClasses() {
init.setStructure(WebCore::JSMatchedRoute::createStructure(init.vm, init.global, init.prototype));
});
+ m_JSPostgresSQLDatabase.initLater(
+ [](LazyClassStructure::Initializer& init) {
+ init.setPrototype(WebCore::JSPostgresSQLDatabase::createPrototype(init.vm, reinterpret_cast<Zig::GlobalObject*>(init.global)));
+ init.setStructure(WebCore::JSPostgresSQLDatabase::createStructure(init.vm, init.global, init.prototype));
+
+ });
m_JSExpect.initLater(
[](LazyClassStructure::Initializer& init) {
init.setPrototype(WebCore::JSExpect::createPrototype(init.vm, reinterpret_cast<Zig::GlobalObject*>(init.global)));
@@ -157,6 +163,7 @@ void GlobalObject::visitGeneratedLazyClasses(GlobalObject *thisObject, Visitor&
thisObject->m_JSServerWebSocket.visit(visitor); visitor.append(thisObject->m_JSServerWebSocketSetterValue);
thisObject->m_JSFileSystemRouter.visit(visitor); visitor.append(thisObject->m_JSFileSystemRouterSetterValue);
thisObject->m_JSMatchedRoute.visit(visitor); visitor.append(thisObject->m_JSMatchedRouteSetterValue);
+ thisObject->m_JSPostgresSQLDatabase.visit(visitor); visitor.append(thisObject->m_JSPostgresSQLDatabaseSetterValue);
thisObject->m_JSExpect.visit(visitor); visitor.append(thisObject->m_JSExpectSetterValue);
thisObject->m_JSTextDecoder.visit(visitor); visitor.append(thisObject->m_JSTextDecoderSetterValue);
thisObject->m_JSRequest.visit(visitor); visitor.append(thisObject->m_JSRequestSetterValue);