Skip to content

Commit

Permalink
Avoid compiler warning about redefining jl_globalref_t (#53499)
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin authored Feb 28, 2024
1 parent c379db7 commit 71f68b4
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 71f68b4

Please sign in to comment.