in reply to Re^2: Passing integer pointer in XS? (&)
in thread Passing integer pointer in XS?
So, you'll need to add just a bit more:
int tdSensor(protocol, protocolLen, model, modelLen, id, dataTypes) char * protocol int protocolLen char * model int modelLen int & id int & dataTypes CODE: RETVAL = tdSensor(protocol, protocolLen, model, modelLen, &id, &da +taTypes); OUTPUT: RETVAL id dataTypes
Sorry, it has been many years since I learned this stuff.
- tye
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Passing integer pointer in XS? (OUTPUT:)
by ikegami (Patriarch) on Jul 18, 2016 at 21:38 UTC | |
by tye (Sage) on Jul 18, 2016 at 21:51 UTC | |
by ikegami (Patriarch) on Jul 18, 2016 at 21:54 UTC | |
Re^4: Passing integer pointer in XS? (OUTPUT:)
by martin67 (Novice) on Jul 18, 2016 at 21:04 UTC |
In Section
Seekers of Perl Wisdom