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.
ordev.xfer_buf_num // If dev is a struct rtlsdr_dev
dev->xfer_buf_num // If dev is a struct rtlsdr_dev*
Seeking work! You can reach me at ikegami@adaelis.com
In reply to Re^5: Automatically Import XS struct
by ikegami
in thread Automatically Import XS struct
by Bpl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |