ext/iodine/iodine_helpers.c
static VALUE url_decode_inplace(VALUE self, VALUE str) {
  Check_Type(str, T_STRING);
  ssize_t len =
      http_decode_url(RSTRING_PTR(str), RSTRING_PTR(str), RSTRING_LEN(str));
  if (len < 0)
    rb_raise(rb_eRuntimeError, "Malformed URL string - couldn't decode (String "
                               "might have been partially altered).");
  rb_str_set_len(str, len);
  return str;
  (void)self;
}
/**
Decodes a URL encoded String in place.

Raises an exception on error... but this might result in a partially decoded
String.
*/
Decodes a URL encoded String in place.
Raises an exception on error... but this might result in a partially decoded
String.
Decodes a URL encoded String in place . Raises an exception on error ... but this might result in a partially decoded String .
static VALUE url_decode_inplace(VALUE self, VALUE str) {
  Check_Type(str, T_STRING);
  ssize_t len =
      http_decode_url(RSTRING_PTR(str), RSTRING_PTR(str), RSTRING_LEN(str));
  if (len < 0)
    rb_raise(rb_eRuntimeError, "Malformed URL string - couldn't decode (String "
                               "might have been partially altered).");
  rb_str_set_len(str, len);
  return str;
  (void)self;
}
static VALUE url_decode_inplace ( VALUE self , VALUE str ) { Check_Type ( str , T_STRING ) ; ssize_t len = http_decode_url ( RSTRING_PTR ( str ) , RSTRING_PTR ( str ) , RSTRING_LEN ( str ) ) ; if ( len < 0 ) rb_raise ( rb_eRuntimeError , " " " " ) ; rb_str_set_len ( str , len ) ; return str ; ( void ) self ; }
Decodes a URL encoded String in place.
Decodes a URL encoded String in place .