diff --git a/src/julia.expmap b/src/julia.expmap index feca88846689f..837c77595e359 100644 --- a/src/julia.expmap +++ b/src/julia.expmap @@ -16,6 +16,7 @@ bitvector_any1; jl_new_struct; jl_new_structt; + jl_get_nth_field; jl_new_lambda_info; jl_new_closure; jl_new_array; diff --git a/src/julia.h b/src/julia.h index 28afc385a8cc6..965d463c2920f 100644 --- a/src/julia.h +++ b/src/julia.h @@ -705,7 +705,7 @@ double jl_unbox_float64(jl_value_t *v); // structs void jl_compute_struct_offsets(jl_struct_type_t *st); int jl_field_index(jl_struct_type_t *t, jl_sym_t *fld, int err); -jl_value_t *jl_get_nth_field(jl_value_t *v, size_t i); +DLLEXPORT jl_value_t *jl_get_nth_field(jl_value_t *v, size_t i); jl_value_t *jl_set_nth_field(jl_value_t *v, size_t i, jl_value_t *rhs); // arrays