I have been playing with the FFI and it is very nice.
However; I am not sure how to specify a struct as a parameter.
For instance if the external function requires a struct
of the form:
typedef struct {
int id;
int serial;
} unit;
This is nothing more than a struct of two integers, or
perhaps a pointer to a struct of two integers.
But, how to specify it?
Ideas?
-Dave
Received on Wed Dec 23 1998 - 21:41:26 CET
This archive was generated by hypermail 2.3.0
: Mon Jul 21 2014 - 19:38:59 CEST