ext/oj/resolve.h in oj-2.18.5 vs ext/oj/resolve.h in oj-3.0.0
- old
+ new
@@ -31,9 +31,9 @@
#ifndef __OJ_RESOLVE_H__
#define __OJ_RESOLVE_H__
#include "ruby.h"
-extern VALUE oj_name2class(ParseInfo pi, const char *name, size_t len, int auto_define);
-extern VALUE oj_name2struct(ParseInfo pi, VALUE nameVal);
+extern VALUE oj_name2class(ParseInfo pi, const char *name, size_t len, int auto_define, VALUE error_class);
+extern VALUE oj_name2struct(ParseInfo pi, VALUE nameVal, VALUE error_class);
#endif /* __OJ_RESOLVE_H__ */