Haskell/cbits/rshim.c in hubris-0.0.4 vs Haskell/cbits/rshim.c in hubris-0.0.5
- old
+ new
@@ -42,5 +42,8 @@
VALUE errclass = rb_eval_string("HaskellError");
VALUE errobj = rb_exc_new2(errclass, message);
return errobj;
}
+char * str2cstr(VALUE v) {
+ StringValuePtr(v);
+}