Skip to content

Commit

Permalink
Add JL_DATA_TYPE for jl_line_info_node_t and jl_code_info_t
Browse files Browse the repository at this point in the history
  • Loading branch information
qinsoon committed Sep 6, 2024
1 parent bada969 commit 41e1fa5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/julia.h
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ JL_DLLEXPORT extern const jl_callptr_t jl_f_opaque_closure_call_addr;
JL_DLLEXPORT extern const jl_callptr_t jl_fptr_wait_for_compiled_addr;

typedef struct _jl_line_info_node_t {
JL_DATA_TYPE
struct _jl_module_t *module;
jl_value_t *method; // may contain a jl_symbol, jl_method_t, or jl_method_instance_t
jl_sym_t *file;
Expand Down Expand Up @@ -281,6 +282,7 @@ typedef union __jl_purity_overrides_t {

// This type describes a single function body
typedef struct _jl_code_info_t {
JL_DATA_TYPE
// ssavalue-indexed arrays of properties:
jl_array_t *code; // Any array of statements
jl_debuginfo_t *debuginfo; // Table of edge data for each statement
Expand Down

0 comments on commit 41e1fa5

Please sign in to comment.