Quantcast
Channel: ktap
Viewing all articles
Browse latest Browse all 345

[ktap] [PATCH v3 01/16] Support array subscription (Yicheng Qin)

$
0
0
Support to read from c array subscription and write to c array subscription, in which c array is the result of ffi.new call. Signed-off-by: Yicheng Qin qycqycqycqycqyc@xxxxxxxxx --- include/ktap_ffi.h | 14 +++- runtime/ffi/cdata.c | 223 +++++++++++++++++++++++++++++++++++++++++++++++-- runtime/ffi/ffi_call.c | 93 +++------------------ runtime/kp_vm.c | 11 +++ test/ffi/ffi_test.kp | 8 +- ...

Viewing all articles
Browse latest Browse all 345

Latest Images

Trending Articles



Latest Images