ext/oj/mimic_json.c in oj-3.4.0 vs ext/oj/mimic_json.c in oj-3.5.0
- old
+ new
@@ -42,17 +42,17 @@
*/
/* Document-method: parser=
* call-seq: parser=(parser)
*
- * Does nothing other than provide compatibiltiy.
+ * Does nothing other than provide compatibility.
* - *parser* [_Object_] ignored
*/
/* Document-method: generator=
* call-seq: generator=(generator)
*
- * Does nothing other than provide compatibiltiy.
+ * Does nothing other than provide compatibility.
* - *generator* [_Object_] ignored
*/
VALUE
oj_get_json_err_class(const char *err_classname) {
@@ -604,11 +604,11 @@
}
/* Document-method: recurse_proc
* call-seq: recurse_proc(obj, &proc)
*
- * Yields to the proc for every element in the obj recursivly.
+ * Yields to the proc for every element in the obj recursively.
*
* - *obj* [_Hash_|Array] object to walk
* - *proc* [_Proc_] to yield to on each element
*/
static VALUE
@@ -682,9 +682,10 @@
Yes, // allow_gc
Yes, // quirks_mode
No, // allow_invalid
No, // create_ok
No, // allow_nan
+ No, // trace
oj_json_class,// create_id
10, // create_id_len
3, // sec_prec
16, // float_prec
"%0.16g", // float_fmt