Skip to content

Commit

Permalink
update LambdaInfo definition for cfunction change
Browse files Browse the repository at this point in the history
  • Loading branch information
vtjnash committed Apr 25, 2016
1 parent e97be1e commit 07b197f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/jltypes.c
Original file line number Diff line number Diff line change
Expand Up @@ -3522,7 +3522,7 @@ void jl_init_types(void)
jl_lambda_info_type =
jl_new_datatype(jl_symbol("LambdaInfo"),
jl_any_type, jl_emptysvec,
jl_svec(25,
jl_svec(24,
jl_symbol("code"),
jl_symbol("slotnames"),
jl_symbol("slottypes"),
Expand All @@ -3543,9 +3543,9 @@ void jl_init_types(void)
jl_symbol("jlcall_api"),
jl_symbol(""),
jl_symbol("fptr"),
jl_symbol(""), jl_symbol(""), jl_symbol(""),
jl_symbol(""), jl_symbol(""),
jl_symbol(""), jl_symbol("")),
jl_svec(25,
jl_svec(24,
jl_any_type,
jl_array_any_type,
jl_any_type,
Expand All @@ -3566,7 +3566,7 @@ void jl_init_types(void)
jl_bool_type,
jl_bool_type,
jl_any_type,
jl_any_type, jl_any_type, jl_any_type,
jl_any_type, jl_any_type,
jl_int32_type, jl_int32_type),
0, 1, 10);
jl_svecset(jl_lambda_info_type->types, 9, jl_lambda_info_type);
Expand Down Expand Up @@ -3622,7 +3622,6 @@ void jl_init_types(void)
jl_svecset(jl_lambda_info_type->types, 19, jl_voidpointer_type);
jl_svecset(jl_lambda_info_type->types, 20, jl_voidpointer_type);
jl_svecset(jl_lambda_info_type->types, 21, jl_voidpointer_type);
jl_svecset(jl_lambda_info_type->types, 22, jl_voidpointer_type);

jl_compute_field_offsets(jl_datatype_type);
jl_compute_field_offsets(jl_typename_type);
Expand Down

0 comments on commit 07b197f

Please sign in to comment.