mes/include
Jan (janneke) Nieuwenhuizen 72e371d77f
core: Resurrect gcc-10 support.
* include/mes/mes.h (g_datadir, g_debug, g_buf, g_continuations,
g_symbols, g_symbol_max, g_mini, R0, R1, R2, R3, M0, g_macros, g_ports,
ARENA_SIZE, MAX_ARENA_SIZE, STACK_SIZE, JAM_SIZE, GC_SAFETY, MAX_STRING,
g_arena, cell_arena, cell_zero, g_free, g_symbol, g_stack_array,
g_cells, g_news, g_stack, gc_count, gc_start_time, gc_end_time, gc_time,
__execl_c_argv, __open_boot_buf, __open_boot_file_name, __setenv_buf,
__reader_read_char_buf, g_start_time, __gettimeofday_time,
__get_internal_run_time_ts): Declare extern.
* include/mes/symbols.h ( cell_nil, cell_f, cell_t, cell_dot,
cell_arrow, cell_undefined, cell_unspecified, cell_closure,
cell_circular, cell_vm_apply, cell_vm_apply2, cell_vm_begin,
cell_vm_begin_eval, cell_vm_begin_expand, cell_vm_begin_expand_eval,
cell_vm_begin_expand_macro, cell_vm_begin_expand_primitive_load,
cell_vm_begin_primitive_load, cell_vm_begin_read_input_file,
cell_vm_call_with_current_continuation2, cell_vm_call_with_values2,
cell_vm_eval, cell_vm_eval2, cell_vm_eval_check_func,
cell_vm_eval_define, cell_vm_eval_macro_expand_eval,
cell_vm_eval_macro_expand_expand, cell_vm_eval_pmatch_car,
cell_vm_eval_pmatch_cdr, cell_vm_eval_set_x, cell_vm_evlis,
cell_vm_evlis2, cell_vm_evlis3, cell_vm_if, cell_vm_if_expr,
cell_vm_macro_expand, cell_vm_macro_expand_car,
cell_vm_macro_expand_cdr, cell_vm_macro_expand_define,
cell_vm_macro_expand_define_macro, cell_vm_macro_expand_lambda,
cell_vm_macro_expand_set_x, cell_vm_return, cell_symbol_lambda,
cell_symbol_begin, cell_symbol_if, cell_symbol_quote,
cell_symbol_define, cell_symbol_define_macro, cell_symbol_quasiquote,
cell_symbol_unquote, cell_symbol_unquote_splicing, cell_symbol_syntax,
cell_symbol_quasisyntax, cell_symbol_unsyntax,
cell_symbol_unsyntax_splicing, cell_symbol_set_x, cell_symbol_sc_expand,
cell_symbol_macro_expand, cell_symbol_portable_macro_expand,
cell_symbol_sc_expander_alist, cell_symbol_call_with_values,
cell_symbol_call_with_current_continuation, cell_symbol_boot_module,
cell_symbol_current_module, cell_symbol_primitive_load, cell_symbol_car,
cell_symbol_cdr, cell_symbol_not_a_number, cell_symbol_not_a_pair,
cell_symbol_system_error, cell_symbol_throw,
cell_symbol_unbound_variable, cell_symbol_wrong_number_of_args,
cell_symbol_wrong_type_arg, cell_symbol_buckets, cell_symbol_builtin,
cell_symbol_frame, cell_symbol_hashq_table, cell_symbol_module,
cell_symbol_procedure, cell_symbol_record_type, cell_symbol_size,
cell_symbol_stack, cell_symbol_argv, cell_symbol_mes_datadir,
cell_symbol_mes_version, cell_symbol_internal_time_units_per_second,
cell_symbol_compiler, cell_symbol_arch, cell_symbol_pmatch_car,
cell_symbol_pmatch_cdr, cell_type_bytes, cell_type_char,
cell_type_closure, cell_type_continuation, cell_type_function,
cell_type_keyword, cell_type_macro, cell_type_number, cell_type_pair,
cell_type_port, cell_type_ref, cell_type_special, cell_type_string,
cell_type_struct, cell_type_symbol, cell_type_values,
cell_type_variable, cell_type_vector, cell_type_broken_heart,
cell_symbol_program, cell_symbol_test): Likewise.
* src/globals.c: New file.
* build-aux/configure-lib.sh (mes_SOURCES): Add it.
2021-05-02 14:58:23 +02:00
..
gnu hurd: Add malloc. 2019-12-13 21:52:31 +01:00
linux mescc: Mes C Library: Add M2-Planet support. 2020-07-25 20:00:44 +02:00
m2 mescc: Mes C Library: Use casting functions. 2020-10-18 14:55:24 +02:00
mach hurd: Fixes for upgrade to debian-hurd-20190220.img. 2019-12-13 21:52:31 +01:00
mes core: Resurrect gcc-10 support. 2021-05-02 14:58:23 +02:00
sys mescc: define int64_t and uint64_t only if it's possible to define them as 2021-01-23 08:43:45 +01:00
alloca.h mescc: Mes C Library: Avoid type/size_t conflicts. 2019-06-01 08:44:18 +02:00
ar.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
argz.h hurd: Add argv and environ. 2019-12-13 21:52:30 +01:00
assert.h build: Simplify. 2019-06-08 15:36:22 +02:00
ctype.h mescc: Mes C Library: Support GNU Awk: Do not flush std files. 2019-06-19 11:26:37 +02:00
dirent.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
dirstream.h build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
dlfcn.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
endian.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
errno.h mescc: Mes C Library: Support gcc-10. 2020-10-06 13:13:44 +02:00
fcntl.h Prepare header files for ARMv4. 2020-06-02 14:37:55 +02:00
features.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
float.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
getopt.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
grp.h build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
inttypes.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
libgen.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
limits.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
locale.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
math.h mescc: Mes C Library: Support gcc-4.6.4: Add math stubs. 2019-09-13 15:11:38 +02:00
memory.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
pwd.h build: Simplify. 2019-06-08 15:36:22 +02:00
setjmp.h mescc: Mes C Library: ARM: setjmp.c: Inline fake asm. 2021-01-23 08:43:46 +01:00
signal.h mescc: Mes C Library: abort: Avoid __raise for TinyCC. 2021-01-23 08:43:43 +01:00
stdarg.h mescc: Mes C Library: vfprintf: Support --with-system-libc. 2019-11-23 21:37:57 +01:00
stdbool.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
stddef.h mescc: Mes C Library: Make malloc align the blocks it gives out. 2021-01-23 08:43:48 +01:00
stdint.h mescc: define int64_t and uint64_t only if it's possible to define them as 2021-01-23 08:43:45 +01:00
stdio.h mescc: Mes C Library: Support gcc-4.6.4: Add fscanf, vfscanf. 2019-09-06 19:04:50 +02:00
stdlib.h mescc: Mes C Library: Fix compile warnings. 2019-06-12 15:59:06 +02:00
stdnoreturn.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
string.h build: Simplify. 2019-06-08 15:36:22 +02:00
strings.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
termio.h mescc: Mes C Library: Support GNU Bash: Add struct winsize. 2019-07-06 11:25:02 +02:00
time.h build: Improve --with-system-libc support. 2019-08-24 19:05:58 +02:00
unistd.h mescc: Mes C Library: Support GNU Awk: Add getpgid, getpgrp stubs. 2019-07-18 12:13:18 +02:00