Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Protocol Buffers and XS

by mojotoad (Monsignor)
on Jul 21, 2010 at 21:33 UTC ( #850729=CUFP: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    message Person {
      required int32 id = 1;
    ...
    }
    
    option optimize_for = SPEED;
    
  2. or download this
    use ExtUtils::MakeMaker;
    
    ...
                  'XSOPT'         => '-C++',
              clean           => { FILES => "Person.* person.pb.* lib" }
             );
    
  3. or download this
    #ifdef __cplusplus
    extern "C" {
    ...
        str = SvPV(svVAL, len);
        sval.assign(str, len);
        THIS->set_email(sval);
    
  4. or download this
    // Generated by the protocol buffer compiler.  DO NOT EDIT!
    
    ...
    #endif  // SWIG
    
    #endif  // PROTOBUF_person_2eproto__INCLUDED
    
  5. or download this
    // Generated by the protocol buffer compiler.  DO NOT EDIT!
    
    ...
      metadata.reflection = Person_reflection_;
      return metadata;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: CUFP [id://850729]
Approved by ww
Front-paged by Arunbear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2020-07-12 13:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?