Update zpl.h.refactor to expose chang ehte native typedefs.

Updated zpl to original state. (Will require minor refactor of the radix sort to compile in the processed version).
This commit is contained in:
2023-03-12 22:13:18 -04:00
parent 581afa9154
commit 3e6ede0fbe
5 changed files with 1457 additions and 1470 deletions

View File

@@ -73,20 +73,7 @@ do \
while(0) \
using c8 = char;
using u8 = zpl_u8;
using u16 = zpl_u16;
using u32 = zpl_u32;
using u64 = zpl_u64;
using s8 = zpl_i8;
using s16 = zpl_i16;
using s32 = zpl_i32;
using s64 = zpl_i64;
using uw = zpl_usize;
using sw = zpl_isize;
ct c8 const* Msg_Invalid_Value = "INVALID VALUE PROVIDED";
ct char const* Msg_Invalid_Value = "INVALID VALUE PROVIDED";
namespace Memory

View File

@@ -26,7 +26,7 @@ namespace File
if ( error_src == ZPL_FILE_ERROR_NONE )
{
zpl_isize fsize = zpl_cast(zpl_isize) file_size( & file_src);
sw fsize = zpl_cast(sw) file_size( & file_src);
if ( fsize > 0 )
{
@@ -94,7 +94,7 @@ namespace Spec
}
ct
c8 strlen_tok( Tok tok )
char strlen_tok( Tok tok )
{
ct
const u8 tok_to_len[ Tok::Num_Tok ] =

View File

@@ -23,18 +23,18 @@ word zpl_strncmp, str_compare
word zpl_strcmp, str_compare
// Undesired typedefs
not word zpl_i8
not word zpl_i16
not word zpl_i32
not word zpl_i64
not word zpl_u8
not word zpl_u16
not word zpl_u32
not word zpl_u64
not word zpl_intptr
not word zpl_uintptr
not word zpl_usize
not word zpl_isize
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

File diff suppressed because it is too large Load Diff