2023-03-12 18:34:55 -07:00
|
|
|
__VERSION 1
|
|
|
|
|
|
|
|
// not : Ignore
|
|
|
|
// word : Alphanumeric or underscore
|
|
|
|
// regex : Unavailable in __VERSION 1.
|
|
|
|
|
|
|
|
// Precedence (highest to lowest):
|
|
|
|
// word, namespace, regex
|
|
|
|
|
|
|
|
// Header files
|
|
|
|
not word zpl_hedley
|
|
|
|
|
|
|
|
// Removes the namespace.
|
|
|
|
namespace zpl_
|
|
|
|
|
|
|
|
// Don't expose internals
|
|
|
|
not namespace zpl__
|
|
|
|
|
|
|
|
not word ZPL_IMPLEMENTATION
|
|
|
|
|
|
|
|
word cast, zpl_cast
|
|
|
|
word zpl_strncmp, str_compare
|
|
|
|
word zpl_strcmp, str_compare
|
|
|
|
|
|
|
|
// Undesired typedefs
|
2023-03-12 19:13:18 -07:00
|
|
|
word zpl_i8, s8
|
|
|
|
word zpl_i16, s16
|
|
|
|
word zpl_i32, s32
|
|
|
|
word zpl_i64, s64
|
|
|
|
word zpl_u8, u8
|
|
|
|
word zpl_u16, u16
|
|
|
|
word zpl_u32, u32
|
|
|
|
word zpl_u64, u64
|
|
|
|
word zpl_intptr, sptr
|
|
|
|
word zpl_uintptr, uptr
|
|
|
|
word zpl_usize, uw
|
|
|
|
word zpl_isize, sw
|
2023-03-12 18:34:55 -07:00
|
|
|
|
|
|
|
// Undesired exposures.
|
2023-03-13 23:31:18 -07:00
|
|
|
//not word zpl_allocator
|
|
|
|
//not word zpl_arena
|
2023-03-12 18:34:55 -07:00
|
|
|
not word zpl_array
|
2023-03-13 23:31:18 -07:00
|
|
|
//not word zpl_file
|
|
|
|
//not word zpl_list
|
|
|
|
//not word zpl_pool
|
|
|
|
//not word zpl_opts
|
2023-03-12 18:34:55 -07:00
|
|
|
|
|
|
|
// Conflicts with refactor
|
2023-03-13 23:31:18 -07:00
|
|
|
word arena, a_arena
|
|
|
|
word alloc, a_allocator
|
|
|
|
word file, a_file
|
2023-03-12 18:34:55 -07:00
|
|
|
word file_size, fsize
|
2023-03-13 23:31:18 -07:00
|
|
|
word list, a_list
|
|
|
|
word opts, a_opts
|
|
|
|
word pool, a_pool
|
2023-03-12 18:34:55 -07:00
|
|
|
|
2023-03-13 23:31:18 -07:00
|
|
|
// Conflicts with std. (Uncomment if using c externs)
|
|
|
|
//not word zpl_memchr
|
|
|
|
//not word zpl_memmove
|
|
|
|
//not word zpl_memset
|
|
|
|
//not word zpl_memswap
|
|
|
|
//not word zpl_memcopy
|
|
|
|
//not word zpl_printf
|
|
|
|
//not word zpl_printf_va
|
|
|
|
//not word zpl_printf_err
|
|
|
|
//not word zpl_printf_err_va
|
|
|
|
//not word zpl_fprintf
|
|
|
|
//not word zpl_fprintf_va
|
|
|
|
//not word zpl_snprintf
|
|
|
|
//not word zpl_snprintf_va
|
|
|
|
//not word zpl_strchr
|
|
|
|
//not word zpl_strlen
|
|
|
|
//not word zpl_strnlen
|
|
|
|
//not word zpl_exit
|