File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ namespace detail
48
48
{
49
49
concrete_types[i] = jl_typeof (args[i]);
50
50
}
51
- concrete_dt = jl_apply_tuple_type_v (concrete_types, tup_sz);
51
+ concrete_dt = ( jl_datatype_t *) jl_apply_tuple_type_v (concrete_types, tup_sz);
52
52
JL_GC_POP ();
53
53
}
54
54
result = jl_new_structv (concrete_dt, args, tup_sz);
@@ -87,7 +87,7 @@ template<typename... TypesT> struct julia_type_factory<std::tuple<TypesT...>, Tu
87
87
jl_datatype_t * result = nullptr ;
88
88
JL_GC_PUSH1 (¶ms);
89
89
params = jl_svec (sizeof ...(TypesT), jlcxx::julia_type<TypesT>()...);
90
- result = jl_apply_tuple_type (params);
90
+ result = ( jl_datatype_t *) jl_apply_tuple_type (params);
91
91
JL_GC_POP ();
92
92
return result;
93
93
}
@@ -134,7 +134,7 @@ struct julia_type_factory<NTuple<N,T>>
134
134
create_if_not_exists<T>();
135
135
jl_value_t * t[2 ] = { ::jlcxx::julia_type<T>(), ::jlcxx::julia_type<N>() };
136
136
jl_value_t * type = apply_type ((jl_value_t *)jl_vararg_type, t, 2 );
137
- return jl_apply_tuple_type_v (&type, 1 );
137
+ return ( jl_datatype_t *) jl_apply_tuple_type_v (&type, 1 );
138
138
}
139
139
};
140
140
You can’t perform that action at this time.
0 commit comments