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;
    }