Permalink
Browse files

weekend sync

  • Loading branch information...
1 parent a963a7f commit 2f04f3d9fcfdfef57c67c5a40aa9fac4b9892e9f Peter Ohler committed Apr 1, 2012
Showing with 9 additions and 2 deletions.
  1. +1 −1 ext/oj/fast.c
  2. +8 −1 notes
View
@@ -816,7 +816,7 @@ parse_json(VALUE clas, char *json, int given, int allocated) {
pi.s = pi.str;
doc_init(doc);
pi.doc = doc;
- //doc->self = rb_obj_alloc(clas);
+ // last arg is free func void* func(void*)
doc->self = rb_data_object_alloc(clas, doc, 0, 0);
doc->json = json;
DATA_PTR(doc->self) = doc;
View
9 notes
@@ -4,7 +4,14 @@
^c^s show subtree
- next
-
+ - Oj::Doc
+ - deal with object being freed automatically
+ - add free routine to rb_data_object_alloc
+ - close and free
+ - readme
+ - bug fixes for different rubies
+ - Oj::Doc will automatically close on GC
+
- setup travis to run tests
- stream

0 comments on commit 2f04f3d

Please sign in to comment.