コード例 #1
0
ファイル: reader.c プロジェクト: YauzZ/upb
// Handlers for google.protobuf.DescriptorProto (representing a message).
static bool msg_startmsg(void *closure, const void *hd) {
  UPB_UNUSED(hd);
  upb_descreader *r = closure;
  upb_deflist_push(&r->defs, UPB_UPCAST(upb_msgdef_new(&r->defs)));
  upb_descreader_startcontainer(r);
  return true;
}
コード例 #2
0
ファイル: reader.c プロジェクト: imageoptimiser/upb
// Handlers for google.protobuf.DescriptorProto (representing a message).
static bool msg_startmsg(void *_r) {
  upb_descreader *r = _r;
  upb_deflist_push(&r->defs, upb_upcast(upb_msgdef_new(&r->defs)));
  upb_descreader_startcontainer(r);
  return true;
}
コード例 #3
0
ファイル: reader.c プロジェクト: YauzZ/upb
// Handlers for google.protobuf.FileDescriptorProto.
static bool file_startmsg(void *r, const void *hd) {
  UPB_UNUSED(hd);
  upb_descreader_startcontainer(r);
  return true;
}
コード例 #4
0
ファイル: reader.c プロジェクト: imageoptimiser/upb
// Handlers for google.protobuf.FileDescriptorProto.
static bool file_startmsg(void *_r) {
  upb_descreader *r = _r;
  upb_descreader_startcontainer(r);
  return true;
}