Searched refs:fielddef_rb (Results 1 – 1 of 1) sorted by relevance
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | defs.c | 1537 VALUE fielddef_rb = rb_class_new_instance(0, NULL, cFieldDescriptor); in msgdef_add_field() local 1540 rb_funcall(fielddef_rb, rb_intern("label="), 1, ID2SYM(rb_intern(label))); in msgdef_add_field() 1541 rb_funcall(fielddef_rb, rb_intern("name="), 1, name_str); in msgdef_add_field() 1542 rb_funcall(fielddef_rb, rb_intern("type="), 1, type); in msgdef_add_field() 1543 rb_funcall(fielddef_rb, rb_intern("number="), 1, number); in msgdef_add_field() 1550 rb_funcall(fielddef_rb, rb_intern("submsg_name="), 1, type_class); in msgdef_add_field() 1563 FieldDescriptor* fielddef = ruby_to_FieldDescriptor(fielddef_rb); in msgdef_add_field() 1569 rb_funcall(fielddef_rb, rb_intern("default="), 1, in msgdef_add_field() 1574 rb_funcall(msgdef_rb, rb_intern("add_field"), 1, fielddef_rb); in msgdef_add_field() 1575 return fielddef_rb; in msgdef_add_field()
|