Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Passing integer pointer in XS?

by martin67 (Novice)
on Jul 18, 2016 at 14:49 UTC ( [id://1167975]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    int WINAPI tdSensor(
      char *  protocol,
    ...
    Returns:
    TELLSTICK_SUCCESS if there is more sensors to be fetched.
    
  2. or download this
    int
    tdSensor(protocol, protocolLen, model, modelLen, id, dataTypes)
    ...
            int     modelLen
            int *   id
            int *   dataTypes
    
  3. or download this
    TYPEMAP
    int *           T_PTR
    
  4. or download this
    my $protocol = "aaaaaaaaaaaaaaaaaaaaaaaaa";
    my $model = "bbbbbbbbbbbbbbbbbbbbbbbbb";
    ...
    
      print "res: $res, protocol: $protocol, model: $model, sensorId: $sen
    +sorId, dataTypes: $dataTypes\n";
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1167975]
Approved by marto
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-03-29 07:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found