765 Commits

Author SHA1 Message Date
lyon
f13acd2334 create _refcnt when create a class_object 2022-04-25 18:58:15 +08:00
lyon
059096a7b1 divide POINTER and REF_OBJECT OK 2022-04-25 15:01:58 +08:00
lyon
37f3062b88 dividing POINTER and REF_OBJECT 2022-04-25 14:49:38 +08:00
lyon
e03af6c5a7 rename __POINTER_ to REF_OBJECT 2022-04-25 14:43:44 +08:00
lyon
8bc6f64215 add ref_cnt domen for arg 2022-04-25 13:24:23 +08:00
lyon
2eaea345cc fix args_setBytes mem error 2022-04-23 00:03:20 +08:00
lyon
5ff34bc7d8 fix parse error about [ a = 'num=' ] 2022-04-22 23:43:06 +08:00
lyon1998
96dfc6fc1d support 'from import' for pre-comiler 2022-04-21 12:37:23 +08:00
lyon1998
f167445b1f add test for from _ import _ as _ 2022-04-21 11:38:12 +08:00
lyon1998
f03208c530 support from import 2022-04-21 11:33:58 +08:00
lyon1998
bffb69cc7c update gtest.sh 2022-04-20 18:44:26 +08:00
lyon1998
362fe8df04 not compile in init.sh 2022-04-20 17:07:38 +08:00
lyon1998
c256cfcb8f use uint8_t in ctypes 2022-04-20 17:05:21 +08:00
lyon1998
09d7e53fa4 print the test py 2022-04-20 14:55:26 +08:00
lyon1998
41f270e053 test for ctypes is ok 2022-04-20 14:51:38 +08:00
lyon1998
69730efea4 printBytes is ok 2022-04-20 14:00:05 +08:00
lyon1998
0c130716bd add BTY ins to support bytes iteral 2022-04-20 13:21:59 +08:00
lyon1998
9bbb9e43cd support '\x33' for str 2022-04-19 19:16:53 +08:00
lyon1998
b015af566d update ctypes Test input to bytes 2022-04-19 18:30:24 +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
7362ba0d4b add print_rcv to test Mem arg 2022-04-18 18:44:14 +08:00
lyon1998
034fb16ea1 fix ctypes.py 2022-04-18 18:30:24 +08:00
lyon1998
5bbb1ba948 only compile once 2022-04-18 18:05:34 +08:00
lyon1998
8c41df1ea1 add obj_loadMem API 2022-04-18 16:34:12 +08:00
lyon1998
386b2c5d74 add c_void_p 2022-04-18 14:21:04 +08:00
lyon1998
be4caeee45 add other ctypes_type, add c_float 2022-04-18 14:16:55 +08:00
lyon1998
bf50bde599 support setMem, getMem, getMemSize for ctypes 2022-04-18 12:13:10 +08:00
lyon1998
a2dd87c8a8 add ARG_TYPE_MEM 2022-04-18 12:11:33 +08:00
lyon1998
f23dac8a8a support obj_setMem, obj_getMem, obj_getMemSize API 2022-04-18 12:02:33 +08:00
lyon1998
933fad80c5 test for args_mem ok 2022-04-18 11:45:59 +08:00
lyon1998
9f01076085 fix fast_test.sh 2022-04-17 23:03:24 +08:00
lyon1998
13afcd2ef6 clear pikaobj.h old api, add ctypesUtils_mem api 2022-04-17 23:02:13 +08:00
lyon1998
7d730006e4 use ctypeUtils in ctype method 2022-04-17 22:56:21 +08:00
lyon1998
a2bbe2ef5e add ctypes_utils to supply method for ctypes 2022-04-17 22:54:07 +08:00
lyon1998
6c0e7e78c9 set other type all to PikaObj* 2022-04-16 14:16:12 +08:00
lyon1998
2c4ec18e06 fix preCompiler for snake case 2022-04-16 11:38:24 +08:00
lyon1998
a42aee333e update PikaObj.py 2022-04-16 11:13:34 +08:00
lyon1998
d13528c4b7 add pointer in pikaObj.py 2022-04-16 11:12:41 +08:00
lyon1998
32cc9d20bd add ctypes package 2022-04-16 00:02:41 +08:00
lyon1998
2d5a5c3f3e not rm pika_config.h 2022-04-15 21:20:04 +08:00
lyon1998
c193c37af3 fix gtest.sh 2022-04-15 21:10:30 +08:00
lyon1998
dabf78f39d fix build scripts, add fast_test 2022-04-15 21:09:18 +08:00
lyon1998
6ea1c8f883 format stdtask.c 2022-04-15 16:25:03 +08:00
lyon1998
7826f74c83 fix spi.phase set api 2022-04-15 15:10:25 +08:00
lyon1998
faea89a2df can.addfilter need override 2022-04-15 14:54:00 +08:00
lyon1998
69eee43c81 set addFilter as override 2022-04-15 14:53:25 +08:00
lyon1998
da538a1a22 add CAN for std device 2022-04-15 14:50:27 +08:00
lyon1998
4a70db1465 add default val in __init__ for SPI 2022-04-14 23:31:47 +08:00
lyon1998
7b92fe30a7 fix make.sh 2022-04-14 23:19:55 +08:00