static VALUE rb_git_commit_message_SET(VALUE self, VALUE val) { git_commit *commit; Data_Get_Struct(self, git_commit, commit); Check_Type(val, T_STRING); git_commit_set_message(commit, RSTRING_PTR(val)); return Qnil; }
static VALUE rb_git_commit_message_SET(VALUE self, VALUE val) { git_commit *commit; RUGGED_OBJ_UNWRAP(self, git_commit, commit); Check_Type(val, T_STRING); git_commit_set_message(commit, RSTRING_PTR(val)); return Qnil; }