Skip to content

Commit 8547b02

Browse files
authored
Add JL_DATA_TYPE for jl_line_info_node_t and jl_code_info_t (#55698)
1 parent 6f04ee0 commit 8547b02

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/julia.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ JL_DLLEXPORT extern const jl_callptr_t jl_f_opaque_closure_call_addr;
234234
JL_DLLEXPORT extern const jl_callptr_t jl_fptr_wait_for_compiled_addr;
235235

236236
typedef struct _jl_line_info_node_t {
237+
JL_DATA_TYPE
237238
struct _jl_module_t *module;
238239
jl_value_t *method; // may contain a jl_symbol, jl_method_t, or jl_method_instance_t
239240
jl_sym_t *file;
@@ -281,6 +282,7 @@ typedef union __jl_purity_overrides_t {
281282

282283
// This type describes a single function body
283284
typedef struct _jl_code_info_t {
285+
JL_DATA_TYPE
284286
// ssavalue-indexed arrays of properties:
285287
jl_array_t *code; // Any array of statements
286288
jl_debuginfo_t *debuginfo; // Table of edge data for each statement

0 commit comments

Comments
 (0)