Skip to content

Commit

Permalink
Avoid compiler warning about redefining jl_globalref_t (JuliaLang#53499)
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin authored and mkitti committed Mar 7, 2024
1 parent 6cda2b4 commit ea43ea9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/julia.h
Original file line number Diff line number Diff line change
Expand Up @@ -645,11 +645,11 @@ typedef struct _jl_module_t {
intptr_t hash;
} jl_module_t;

typedef struct _jl_globalref_t {
struct _jl_globalref_t {
jl_module_t *mod;
jl_sym_t *name;
jl_binding_t *binding;
} jl_globalref_t;
};

// one Type-to-Value entry
typedef struct _jl_typemap_entry_t {
Expand Down

0 comments on commit ea43ea9

Please sign in to comment.