in reply to Re^3: Automatically Import XS structin thread Automatically Import XS struct
The leading section of XS files is expected to be arbitrary C code. The CODE and PPCODE sections of XS files can be any valid C statement sequence. As such, you would do it exactly as you would in C.
dev.xfer_buf_num // If dev is a struct rtlsdr_dev [download]
dev->xfer_buf_num // If dev is a struct rtlsdr_dev* [download]
Seeking work! You can reach me at ikegami@adaelis.com