From 290be60cf34ef2550a8cb9aa447c232445cd1476 Mon Sep 17 00:00:00 2001 From: Estevan Castilho Date: Thu, 8 Oct 2026 02:13:00 +0000 Subject: Autorelease pools --- lib/protocols/Handle.mli | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/protocols/Handle.mli') diff --git a/lib/protocols/Handle.mli b/lib/protocols/Handle.mli index f413aac..7b0a996 100644 --- a/lib/protocols/Handle.mli +++ b/lib/protocols/Handle.mli @@ -22,3 +22,4 @@ val hash : t -> Concepts.Hash.hash val protocols : t -> protocol list val to_string : t -> string val require : (t -> 'a interface option) -> t -> ('a interface, Concepts.Condition.condition) result +val with_autorelease : (unit -> 'a) -> 'a -- cgit v1.2.3