C2HS - marchalling arrays

10 Apr
2016
10 Apr
'16
12:09 p.m.
Hi, I am using c2hs and I want to create bindings for a C function with the following signature: my_function(my_struct_t*, int* values, size_t num_values); Ideally I'd like to have a function that accepts [CInt], not a pair (pointer, size). What is the easiest way to do it? Can c2hs help me with this or I need to do it manually? Regards, Alexey.
3375
Age (days ago)
3375
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexey Raga