This commit is contained in:
+45
-27
@@ -392,6 +392,24 @@
|
||||
#define wapp_array_alloc_capacity wpArrayAllocCapacity
|
||||
#define wapp_array_from_preallcated_buffer wpArrayFromPreallcatedBuffer
|
||||
|
||||
#define _array_count arrayCount
|
||||
#define _array_capacity arrayCapacity
|
||||
#define _array_item_size arrayItemSize
|
||||
#define _array_set_count arraySetCount
|
||||
#define _array_get arrayGet
|
||||
#define _array_set arraySet
|
||||
#define _array_append_capped arrayAppendCapped
|
||||
#define _array_extend_capped arrayExtendCappend
|
||||
#define _array_copy_capped arrayCopyCapped
|
||||
#define _array_append_alloc arrayAppendAlloc
|
||||
#define _array_extend_alloc arrayExtendAlloc
|
||||
#define _array_copy_alloc arrayCopyAlloc
|
||||
#define _array_pop arrayPop
|
||||
#define _array_clear arrayClear
|
||||
#define _array_calc_alloc_size arrayCalcAllocSize
|
||||
#define _array_alloc_capacity arrayAllocCapacity
|
||||
#define _array_from_preallocated_buffer arrayFromPreallocatedBuffer
|
||||
|
||||
// --- Assert ---
|
||||
|
||||
#define wapp_static_assert wpStaticAssert
|
||||
@@ -403,7 +421,7 @@
|
||||
#define wapp_cpath_dirname wpCpathDirname
|
||||
#define wapp_cpath_dirup wpCpathDirup
|
||||
#define wapp_cpath_join_path wpCpathJoinPath
|
||||
#define dirup _dirup
|
||||
#define dirup dirUp
|
||||
|
||||
// --- DblList ---
|
||||
|
||||
@@ -426,16 +444,16 @@
|
||||
#define wapp_dbl_list_remove_node wpDblListRemoveNode
|
||||
#define wapp_dbl_list_empty wpDblListEmpty
|
||||
|
||||
#define _dbl_list_alloc _dblListAlloc
|
||||
#define _dbl_list_node_alloc _dblListNodeAlloc
|
||||
#define _dbl_list_get _dblListGet
|
||||
#define _dbl_list_push_front _dblListPushFront
|
||||
#define _dbl_list_push_back _dblListPushBack
|
||||
#define _dbl_list_insert _dblListInsert
|
||||
#define _dbl_list_pop_front _dblListPopFront
|
||||
#define _dbl_list_pop_back _dblListPopBack
|
||||
#define _dbl_list_remove _dblListRemove
|
||||
#define _dbl_list_empty _dblListEmpty
|
||||
#define _dbl_list_alloc dblListAlloc
|
||||
#define _dbl_list_node_alloc dblListNodeAlloc
|
||||
#define _dbl_list_get dblListGet
|
||||
#define _dbl_list_push_front dblListPushFront
|
||||
#define _dbl_list_push_back dblListPushBack
|
||||
#define _dbl_list_insert dblListInsert
|
||||
#define _dbl_list_pop_front dblListPopFront
|
||||
#define _dbl_list_pop_back dblListPopBack
|
||||
#define _dbl_list_remove dblListRemove
|
||||
#define _dbl_list_empty dblListEmpty
|
||||
|
||||
// --- File ---
|
||||
|
||||
@@ -457,14 +475,14 @@
|
||||
#define wapp_file_rename wpFileRename
|
||||
#define wapp_file_remove wpFileRemove
|
||||
|
||||
#define _file_open _fileOpen
|
||||
#define _file_seek _fileSeek
|
||||
#define _file_read _fileRead
|
||||
#define _file_write _fileWrite
|
||||
#define _file_flush _fileFlush
|
||||
#define _file_close _fileClose
|
||||
#define _file_rename _fileRename
|
||||
#define _file_remove _fileRemove
|
||||
#define _file_open fileOpen
|
||||
#define _file_seek fileSeek
|
||||
#define _file_read fileRead
|
||||
#define _file_write fileWrite
|
||||
#define _file_flush fileFlush
|
||||
#define _file_close fileClose
|
||||
#define _file_rename fileRename
|
||||
#define _file_remove fileRemove
|
||||
|
||||
// --- Log ---
|
||||
|
||||
@@ -491,8 +509,8 @@
|
||||
|
||||
#define wapp_os_mem_alloc wpOsMemAlloc
|
||||
#define wapp_os_mem_free wpOsMemFree
|
||||
#define os_mem_allocate _osMemAllocate
|
||||
#define os_mem_free _osMemFree
|
||||
#define os_mem_allocate osMemAllocate
|
||||
#define os_mem_free osMemFree
|
||||
|
||||
// --- Mem Utils ---
|
||||
|
||||
@@ -523,21 +541,21 @@
|
||||
#define wapp_queue_push_alloc wpQueuePushAlloc
|
||||
#define wapp_queue_pop wpQueuePop
|
||||
|
||||
#define _queue_push _queuePush
|
||||
#define _queue_push_alloc _queuePushAlloc
|
||||
#define _queue_pop _queuePop
|
||||
#define _queue_push queuePush
|
||||
#define _queue_push_alloc queuePushAlloc
|
||||
#define _queue_pop queuePop
|
||||
|
||||
// --- Shell Commander ---
|
||||
|
||||
#define CMD_NO_EXIT wpCmdNoExit
|
||||
#define wapp_shell_commander_execute wpShellCommanderExecute
|
||||
#define get_output_status _getOutputStatus
|
||||
#define get_output_status getOutputStatus
|
||||
|
||||
// --- Shell Termcolour ---
|
||||
|
||||
#define wapp_shell_termcolour_print_text wpShellTermcolourPrintText
|
||||
#define wapp_shell_termcolour_clear_colour wpShellTermcolourClearColour
|
||||
#define print_coloured_text _printColouredText
|
||||
#define print_coloured_text printColouredText
|
||||
|
||||
// --- Shell Utils ---
|
||||
|
||||
@@ -585,7 +603,7 @@
|
||||
|
||||
#define wapp_tester_result wpTesterResult
|
||||
#define wapp_tester_run wpTesterRun
|
||||
#define run_tests _runTests
|
||||
#define run_tests runTests
|
||||
|
||||
// --- UUID ---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user