Searched refs:syntax_rb (Results 1 – 1 of 1) sorted by relevance
622 VALUE FileDescriptor_syntax_set(VALUE _self, VALUE syntax_rb) { in FileDescriptor_syntax_set() argument624 Check_Type(syntax_rb, T_SYMBOL); in FileDescriptor_syntax_set()627 if (SYM2ID(syntax_rb) == rb_intern("proto3")) { in FileDescriptor_syntax_set()629 } else if (SYM2ID(syntax_rb) == rb_intern("proto2")) { in FileDescriptor_syntax_set()633 rb_id2name(SYM2ID(syntax_rb))); in FileDescriptor_syntax_set()