Skip to content

Commit 098f1f4

Browse files
Apply suggestions from code review
Co-authored-by: Cody Tapscott <[email protected]>
1 parent a4aca9b commit 098f1f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/embedding_wrapper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ int main(int argc, char *argv[]) {
106106
JL_GC_PUSH1(&firstarg);
107107
jl_sym_t *var = jl_symbol("PROGRAM_FILE");
108108
#if JULIA_VERSION_MAJOR == 1 && JULIA_VERSION_MINOR >= 11
109-
jl_binding_t *bp = jl_get_binding_wr(jl_base_module, var, 1);
109+
jl_binding_t *bp = jl_get_binding_wr(jl_base_module, var, /* alloc */ 1);
110110
jl_checked_assignment(bp, jl_base_module, var, firstarg);
111111
#elif JULIA_VERSION_MAJOR == 1 && JULIA_VERSION_MINOR >= 10
112112
jl_binding_t *bp = jl_get_binding_wr(jl_base_module, var);

0 commit comments

Comments
 (0)