Skip to content

Commit

Permalink
Add JL_DLLIMPORT to small_typeof declaration
Browse files Browse the repository at this point in the history
Resolves JuliaLang#50714.
  • Loading branch information
topolarity committed Aug 11, 2023
1 parent 0eb13d7 commit 899c595
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/julia.h
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ enum jlsmall_typeof_tags {
jl_bitstags_first = jl_char_tag, // n.b. bool is not considered a bitstype, since it can be compared by pointer
jl_max_tags = 64
};
extern jl_datatype_t *small_typeof[(jl_max_tags << 4) / sizeof(jl_datatype_t*)];
extern JL_DLLIMPORT jl_datatype_t *small_typeof[(jl_max_tags << 4) / sizeof(jl_datatype_t*)];
static inline jl_value_t *jl_to_typeof(uintptr_t t)
{
if (t < (jl_max_tags << 4))
Expand Down

0 comments on commit 899c595

Please sign in to comment.