Sha256: b53406df3ae83db49841a4b640ea384f3ddf743c40845d524ce5294818ace70d
Contents?: true
Size: 514 Bytes
Versions: 7
Compression:
Stored size: 514 Bytes
Contents
#include "ruby_helpers.h" void raise_unexpected_type( VALUE value, DDTRACE_UNUSED enum ruby_value_type _type, const char *value_name, const char *type_name, const char *file, int line, const char* function_name ) { rb_exc_raise( rb_exc_new_str( rb_eTypeError, rb_sprintf("wrong argument %"PRIsVALUE" for '%s' (expected a %s) at %s:%d:in `%s'", rb_inspect(value), value_name, type_name, file, line, function_name ) ) ); }
Version data entries
7 entries across 7 versions & 1 rubygems