diff --git a/include/jlcxx/type_conversion.hpp b/include/jlcxx/type_conversion.hpp index df0887d..2f5d5b7 100644 --- a/include/jlcxx/type_conversion.hpp +++ b/include/jlcxx/type_conversion.hpp @@ -498,6 +498,15 @@ inline jl_datatype_t* julia_base_type() return detail::GetBaseT::type(); } +template<> +struct jlcxx::julia_type_factory +{ + static inline jl_datatype_t* julia_type() + { + return jl_nothing_type; // `jl_void_type` is deprecated + } +}; + // Mapping for const references template struct julia_type_factory