56 Commits

Author SHA1 Message Date
lyon
8bc6f64215 add ref_cnt domen for arg 2022-04-25 13:24:23 +08:00
李昂
3380490fd8
fix warning in msvc 2022-04-21 10:12:28 +00:00
lyon1998
c256cfcb8f use uint8_t in ctypes 2022-04-20 17:05:21 +08:00
lyon1998
69730efea4 printBytes is ok 2022-04-20 14:00:05 +08:00
lyon1998
e44f9c2368 Use ArgName Bytes instead of Mem 2022-04-19 18:13:07 +08:00
lyon1998
8d2378251f rename Mem to Bytes 2022-04-19 18:12:07 +08:00
lyon1998
a2dd87c8a8 add ARG_TYPE_MEM 2022-04-18 12:11:33 +08:00
lyon1998
174f594534 use arg_set/get_Mem 2022-04-18 11:56:29 +08:00
lyon1998
cd5c62c167 support defination for def and class 2022-04-11 22:27:18 +08:00
lyon1998
dc42b5bc4d solving unused stack args 2022-03-31 20:32:33 +08:00
lyon1998
26942923bf use static stack instead of link stack 2022-03-30 00:27:04 +08:00
lyon1998
60514571b6 clean stack when match new line 2022-03-29 22:32:20 +08:00
lyon1998
66c583218e args_heapStuct is tested ok 2022-03-16 12:16:09 +08:00
lyon1998
d5db14067a use arg_append to save MethodInfo is ok 2022-03-15 17:46:22 +08:00
lyon1998
2292d3ab97 use content_size == new_size 2022-03-15 17:10:05 +08:00
lyon1998
8b9b124bd5 only copy when arg size lager than new content size 2022-03-15 16:13:22 +08:00
lyon1998
bef0a22ba9 not realloc when size equal when setContent 2022-03-15 16:09:18 +08:00
lyon1998
459edb1d5d use inline arg_getContent 2022-03-12 23:38:56 +08:00
lyon1998
2b02818c9e arg_append any content is ok 2022-03-12 20:52:25 +08:00
lyon
fd26a79fc8 rename TYPE_X to ARG_TYPE_X 2022-03-02 10:34:33 +08:00
lyon
9ebdaa5560 fix ac5 warnings 2022-02-24 14:43:51 +08:00
lyon
962086ddbd clear #if 0 in dataArg 2022-01-25 08:57:21 +08:00
lyon
325a11d3e7 remove argType at the end of content 2022-01-25 08:39:10 +08:00
lyon
d49f439554 use static content_init 2022-01-25 08:08:10 +08:00
Gabriel Wang
0278a9d3fb move type to __arg 2022-01-25 07:55:35 +08:00
Gabriel Wang
e542318b86 temporarily set content_init's visibility as public 2022-01-25 02:19:42 +08:00
Gabriel Wang
f55d929593 remove redundant code... 2022-01-25 02:19:42 +08:00
Gabriel Wang
75ca440724 introduce base class __arg 2022-01-25 02:19:42 +08:00
Gabriel Wang
a3b6f032b0 remove unrequired code 2022-01-25 00:10:10 +08:00
lyon
d2791f66bd not use memcpy in hash init 2022-01-14 13:39:03 +08:00
lyon
b077787e85 restore arg_getType 2022-01-14 13:37:32 +08:00
lyon
e8186ec80d use less memcpy in dataArg 2022-01-14 13:34:20 +08:00
lyon
1bf589ad52 get nameHash by '=' 2022-01-05 23:15:36 +08:00
lyon
01e2c533e6 use '=' to get next 2022-01-05 22:56:42 +08:00
lyon
7a2650389a use '=' instead of for byte 2022-01-05 22:53:05 +08:00
lyon
c94db1e4c1 uset next by '=' 2022-01-05 22:44:25 +08:00
lyon
144b0c195e use content_getSize 2022-01-05 22:41:58 +08:00
lyon
d0eabb0b94 set size of arg to uint32_t to aline to 4 2022-01-05 22:36:28 +08:00
lyon
084da065e5 use uintptr_t instead of long 2021-12-30 16:29:12 +08:00
lyon
f39530cf39 NULL arg is ok 2021-12-24 13:15:32 +08:00
lyon
41fe410f04 use weak memcpy and memset 2021-12-09 20:04:31 +08:00
root
85a2734462 use pikaplatform.h to include libc 2021-12-07 15:45:38 +08:00
pikastech
aafc990cdf debug warnings in gcc-enbi 2021-12-07 15:14:21 +08:00
lyon
e25cbbef92 cmo to com 2021-11-16 08:49:33 +08:00
lyon
669b037519 add MIT license to sorce files 2021-11-16 08:46:44 +08:00
lyon
7e7e71e0ba add pool_malloc and pool_free 2021-11-15 11:19:43 +08:00
lyon
1e1ca47515 all elems in arg is const size 2021-11-15 09:46:41 +08:00
lyon
b88b729039 use type enum 2021-11-15 09:36:46 +08:00
lyon
5316ede928 add Warning flag and solve warnings 2021-11-14 18:39:08 +08:00
lyon
ca29e11268 rezise arg to 16 byte in 32bit system 2021-11-14 13:55:54 +08:00