From f44a112c885e353e99f60186c78fb1f49e8f02f0 Mon Sep 17 00:00:00 2001 From: Ivan FB Date: Tue, 12 May 2026 09:25:20 +0200 Subject: [PATCH] make initContextResources private --- ffi/ffi_context.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffi/ffi_context.nim b/ffi/ffi_context.nim index eb17ae8..22129e6 100644 --- a/ffi/ffi_context.nim +++ b/ffi/ffi_context.nim @@ -317,7 +317,7 @@ proc cleanUpResources[T](ctx: ptr FFIContext[T]): Result[void, string] = ?ctx.threadExitSignal.close() return ok() -proc initContextResources*[T](ctx: ptr FFIContext[T]): Result[void, string] = +proc initContextResources[T](ctx: ptr FFIContext[T]): Result[void, string] = ## Initialises all resources inside an already-allocated FFIContext slot. ## On failure every partially-initialised resource is closed; the caller ## is responsible for releasing the slot (freeShared or pool.releaseSlot).