Skip to content

Commit

Permalink
Adding JL_DATA_TYPE annotation to _jl_globalref_t (#55684)
Browse files Browse the repository at this point in the history
`_jl_globalref_t` seems to be allocated in the heap, and there is an
object `jl_globalref_type` which indicates that it is in fact, a data
type, thus it should be annotated with `JL_DATA_TYPE`??
  • Loading branch information
udesou authored and KristofferC committed Sep 12, 2024
1 parent f6ae037 commit d377fde
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/julia.h
Original file line number Diff line number Diff line change
Expand Up @@ -718,6 +718,7 @@ typedef struct _jl_module_t {
} jl_module_t;

struct _jl_globalref_t {
JL_DATA_TYPE
jl_module_t *mod;
jl_sym_t *name;
jl_binding_t *binding;
Expand Down

0 comments on commit d377fde

Please sign in to comment.