Skip to content

Commit 07b197f

Browse files
committed
update LambdaInfo definition for cfunction change
1 parent e97be1e commit 07b197f

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/jltypes.c

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3522,7 +3522,7 @@ void jl_init_types(void)
35223522
jl_lambda_info_type =
35233523
jl_new_datatype(jl_symbol("LambdaInfo"),
35243524
jl_any_type, jl_emptysvec,
3525-
jl_svec(25,
3525+
jl_svec(24,
35263526
jl_symbol("code"),
35273527
jl_symbol("slotnames"),
35283528
jl_symbol("slottypes"),
@@ -3543,9 +3543,9 @@ void jl_init_types(void)
35433543
jl_symbol("jlcall_api"),
35443544
jl_symbol(""),
35453545
jl_symbol("fptr"),
3546-
jl_symbol(""), jl_symbol(""), jl_symbol(""),
3546+
jl_symbol(""), jl_symbol(""),
35473547
jl_symbol(""), jl_symbol("")),
3548-
jl_svec(25,
3548+
jl_svec(24,
35493549
jl_any_type,
35503550
jl_array_any_type,
35513551
jl_any_type,
@@ -3566,7 +3566,7 @@ void jl_init_types(void)
35663566
jl_bool_type,
35673567
jl_bool_type,
35683568
jl_any_type,
3569-
jl_any_type, jl_any_type, jl_any_type,
3569+
jl_any_type, jl_any_type,
35703570
jl_int32_type, jl_int32_type),
35713571
0, 1, 10);
35723572
jl_svecset(jl_lambda_info_type->types, 9, jl_lambda_info_type);
@@ -3622,7 +3622,6 @@ void jl_init_types(void)
36223622
jl_svecset(jl_lambda_info_type->types, 19, jl_voidpointer_type);
36233623
jl_svecset(jl_lambda_info_type->types, 20, jl_voidpointer_type);
36243624
jl_svecset(jl_lambda_info_type->types, 21, jl_voidpointer_type);
3625-
jl_svecset(jl_lambda_info_type->types, 22, jl_voidpointer_type);
36263625

36273626
jl_compute_field_offsets(jl_datatype_type);
36283627
jl_compute_field_offsets(jl_typename_type);

0 commit comments

Comments
 (0)