From 171f0b6fb82fcfd3ac18ef200f0255ccf96e7bc7 Mon Sep 17 00:00:00 2001 From: Billy Moses Date: Wed, 11 Dec 2024 23:30:30 -0600 Subject: [PATCH] Export opaque closure constructor --- src/opaque_closure.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opaque_closure.c b/src/opaque_closure.c index e3334c037f5a9..31c34ca48467c 100644 --- a/src/opaque_closure.c +++ b/src/opaque_closure.c @@ -131,7 +131,7 @@ static jl_opaque_closure_t *new_opaque_closure(jl_tupletype_t *argt, jl_value_t return oc; } -jl_opaque_closure_t *jl_new_opaque_closure(jl_tupletype_t *argt, jl_value_t *rt_lb, jl_value_t *rt_ub, +JL_DLLEXPORT jl_opaque_closure_t *jl_new_opaque_closure(jl_tupletype_t *argt, jl_value_t *rt_lb, jl_value_t *rt_ub, jl_value_t *source_, jl_value_t **env, size_t nenv, int do_compile) { jl_value_t *captures = jl_f_tuple(NULL, env, nenv);