Cosmetic - use C comments instead of C++ comments for recent Ruby change

This commit is contained in:
William S Fulton 2013-04-08 07:57:45 +01:00
commit 5ae6ff404d

View file

@ -174,8 +174,10 @@ namespace swig {
static VALUE swig_rescue_swallow(VALUE)
{
// VALUE errstr = rb_obj_as_string(rb_errinfo());
// printf("Swallowing error: '%s'\n", RSTRING_PTR(StringValue(errstr)));
/*
VALUE errstr = rb_obj_as_string(rb_errinfo());
printf("Swallowing error: '%s'\n", RSTRING_PTR(StringValue(errstr)));
*/
return Qnil; /* Swallow Ruby exception */
}