Skip to content

Commit

Permalink
Promise that jl_typeinf_func is rooted somewhere
Browse files Browse the repository at this point in the history
  • Loading branch information
pchintalapudi committed Nov 20, 2022
1 parent a63aa9f commit 161c25c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gf.c
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ static int reset_mt_caches(jl_methtable_t *mt, void *env)
}


jl_function_t *jl_typeinf_func = NULL;
jl_function_t *jl_typeinf_func JL_GLOBALLY_ROOTED = NULL;
JL_DLLEXPORT size_t jl_typeinf_world = 1;

JL_DLLEXPORT void jl_set_typeinf_func(jl_value_t *f)
Expand Down

0 comments on commit 161c25c

Please sign in to comment.