static VALUE rb_git_commit_committer_SET(VALUE self, VALUE rb_sig) { git_commit *commit; RUGGED_OBJ_UNWRAP(self, git_commit, commit); git_commit_set_committer(commit, rugged_signature_get(rb_sig)); return Qnil; }
static VALUE rb_git_commit_committer_SET(VALUE self, VALUE rb_person) { const char *name, *email; time_t time; git_commit *commit; Data_Get_Struct(self, git_commit, commit); rugged_person_rb2c(rb_person, &name, &email, &time); git_commit_set_committer(commit, name, email, time); return Qnil; }