mirror of
https://github.com/Ed94/refactor.git
synced 2024-12-22 06:54:44 -08:00
Ed_
aec095a9f0
Moved header and source to code Changed all build scripts to just be powershell (preferred) Added clang format (but forgot that you cannot format zpl because it hangs clang format) Code changes: * Removed long names just using short names (there is an issue with the opts_compile...) * Removed zpl.refactored.h (its generated now when `.\build.ps1 test` is run * Modified zpl.h to just have the radix sort modification.
69 lines
1.2 KiB
Plaintext
69 lines
1.2 KiB
Plaintext
__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
|
|
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
|
|
|
|
// Undesired exposures.
|
|
not word zpl_allocator
|
|
not word zpl_arena
|
|
not word zpl_array
|
|
not word zpl_file
|
|
not word zpl_list
|
|
not word zpl_pool
|
|
not word zpl_opts
|
|
|
|
// Conflicts with refactor
|
|
word alloc, allocator
|
|
word file_size, fsize
|
|
|
|
// Conflicts with std.
|
|
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_strlen
|
|
not word zpl_strnlen
|
|
not word zpl_exit
|