aboutsummaryrefslogtreecommitdiffstats
path: root/src/comp.c
diff options
context:
space:
mode:
authorAndrea Corallo2020-12-19 20:45:56 +0100
committerAndrea Corallo2020-12-19 20:47:59 +0100
commit407fb165832341d3dccb78d2782d1790a19c4b9d (patch)
tree8a8e4a1b310a962402c76bd6647e065638a28bbe /src/comp.c
parent3b53a591faed03679382a601b93da7fe6ce3b4af (diff)
downloademacs-407fb165832341d3dccb78d2782d1790a19c4b9d.tar.gz
emacs-407fb165832341d3dccb78d2782d1790a19c4b9d.zip
* Add 'gcc_jit_type_get_const' to Windows dynamic load machinery (bug#45303).
* src/comp.c: Add 'gcc_jit_type_get_const' to windows dynamic load machinery.
Diffstat (limited to 'src/comp.c')
-rw-r--r--src/comp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/comp.c b/src/comp.c
index b52e7e34aea..f77faaa483e 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -102,6 +102,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
102#undef gcc_jit_rvalue_get_type 102#undef gcc_jit_rvalue_get_type
103#undef gcc_jit_struct_as_type 103#undef gcc_jit_struct_as_type
104#undef gcc_jit_struct_set_fields 104#undef gcc_jit_struct_set_fields
105#undef gcc_jit_type_get_const
105#undef gcc_jit_type_get_pointer 106#undef gcc_jit_type_get_pointer
106#undef gcc_jit_version_major 107#undef gcc_jit_version_major
107#undef gcc_jit_version_minor 108#undef gcc_jit_version_minor
@@ -208,6 +209,7 @@ DEF_DLL_FN (gcc_jit_type *, gcc_jit_context_new_union_type,
208DEF_DLL_FN (gcc_jit_type *, gcc_jit_rvalue_get_type, (gcc_jit_rvalue *rvalue)); 209DEF_DLL_FN (gcc_jit_type *, gcc_jit_rvalue_get_type, (gcc_jit_rvalue *rvalue));
209DEF_DLL_FN (gcc_jit_type *, gcc_jit_struct_as_type, 210DEF_DLL_FN (gcc_jit_type *, gcc_jit_struct_as_type,
210 (gcc_jit_struct *struct_type)); 211 (gcc_jit_struct *struct_type));
212DEF_DLL_FN (gcc_jit_type *, gcc_jit_type_get_const, (gcc_jit_type *type));
211DEF_DLL_FN (gcc_jit_type *, gcc_jit_type_get_pointer, (gcc_jit_type *type)); 213DEF_DLL_FN (gcc_jit_type *, gcc_jit_type_get_pointer, (gcc_jit_type *type));
212DEF_DLL_FN (void, gcc_jit_block_add_assignment, 214DEF_DLL_FN (void, gcc_jit_block_add_assignment,
213 (gcc_jit_block *block, gcc_jit_location *loc, gcc_jit_lvalue *lvalue, 215 (gcc_jit_block *block, gcc_jit_location *loc, gcc_jit_lvalue *lvalue,
@@ -308,6 +310,7 @@ init_gccjit_functions (void)
308 LOAD_DLL_FN (library, gcc_jit_rvalue_get_type); 310 LOAD_DLL_FN (library, gcc_jit_rvalue_get_type);
309 LOAD_DLL_FN (library, gcc_jit_struct_as_type); 311 LOAD_DLL_FN (library, gcc_jit_struct_as_type);
310 LOAD_DLL_FN (library, gcc_jit_struct_set_fields); 312 LOAD_DLL_FN (library, gcc_jit_struct_set_fields);
313 LOAD_DLL_FN (library, gcc_jit_type_get_const);
311 LOAD_DLL_FN (library, gcc_jit_type_get_pointer); 314 LOAD_DLL_FN (library, gcc_jit_type_get_pointer);
312 LOAD_DLL_FN_OPT (library, gcc_jit_context_add_driver_option); 315 LOAD_DLL_FN_OPT (library, gcc_jit_context_add_driver_option);
313 LOAD_DLL_FN_OPT (library, gcc_jit_global_set_initializer); 316 LOAD_DLL_FN_OPT (library, gcc_jit_global_set_initializer);