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