Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 3d7b30955c
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (15 sloc) 0.314 kb
#include "ruby.h"
static VALUE rb_cRibbit;
static VALUE
print_test(VALUE self)
{
int test = git__prefixcmp("aa", "aa");
printf("test: %d\n", test);
return Qnil;
}
void
Init_ribbit()
{
rb_cRibbit = rb_define_class("Ribbit", rb_cObject);
rb_define_method(rb_cRibbit, "print_test", print_test, 0);
}
Jump to Line
Something went wrong with that request. Please try again.