121 Commits

Author SHA1 Message Date
lyon
77267cff07 use class Arg instead of __arg 2022-05-22 20:50:28 +08:00
lyon
4906710b38 clear the macro function of arg 2022-05-22 17:13:01 +08:00
Lyon
b359062172
Dev (#118)
* add PLOOC

* add PLOOC to kernal

* remove unrequired files

* remove pack

* fix plooc ci in test/*.cpp

* add test_common.h

Co-authored-by: Gabriel Wang <embedded_zhuoran@Hotmail.com>
2022-05-19 20:52:19 +08:00
lyon
186b951078 support v1.8.0rc for stm32f103rb, and fix ac5 2022-05-16 21:45:58 +08:00
lyon
bef82257ef use 'rb''wb+' to avoid auto transfer form '\n' to '\r\n' in win 2022-05-15 00:38:25 +08:00
lyon
5aa541afa1 fix valgiand 2022-05-04 15:36:55 +08:00
lyon
b1b45b8784 add magic_code and version_num to lib_file info_block 2022-05-04 15:32:18 +08:00
lyon
95de5d6be8 using valgrand to find mem error 2022-05-02 14:48:10 +08:00
lyon
7f70e2a9df import type() 2022-04-27 23:38:00 +08:00
lyon
ba11251d6d support deinit no ref object 2022-04-26 12:23:39 +08:00
lyon
d8560dd24d task not pass, class not pass 2022-04-26 11:09:18 +08:00
lyon
df0db6a390 combine object and ref object 2022-04-26 10:43:50 +08:00
lyon
89d23c2d3e ref error in list.iter 2022-04-26 10:01:40 +08:00
lyon
9803b1cf9f gc not pass 2022-04-25 23:38:10 +08:00
lyon
88c0fd481e add _refcnt when get refArg from object 2022-04-25 19:19:44 +08:00
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