http://qs321.pair.com?node_id=1167999


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