Skip to content

Commit 71c5115

Browse files
authored
Export jl_method_set_source. (#49236)
This makes it possible to experiment with an OpaqueClosure-like API, which uses Method objects, in the GPU stack.
1 parent 432f300 commit 71c5115

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/method.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ jl_method_instance_t *jl_get_specialized(jl_method_t *m, jl_value_t *types, jl_s
665665
return new_linfo;
666666
}
667667

668-
static void jl_method_set_source(jl_method_t *m, jl_code_info_t *src)
668+
JL_DLLEXPORT void jl_method_set_source(jl_method_t *m, jl_code_info_t *src)
669669
{
670670
uint8_t j;
671671
uint8_t called = 0;

0 commit comments

Comments
 (0)