Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^5: Automatically Import XS struct

by ikegami (Patriarch)
on Feb 04, 2021 at 19:52 UTC ( [id://11127892]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Automatically Import XS struct
in 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
or
dev->xfer_buf_num // If dev is a struct rtlsdr_dev*

Seeking work! You can reach me at ikegami@adaelis.com

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11127892]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-25 12:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found