Cosmetic - use C comments instead of C++ comments for recent Ruby change
This commit is contained in:
parent
65b917dabb
commit
5ae6ff404d
1 changed files with 4 additions and 2 deletions
|
|
@ -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 */
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue