ext/state_ext/state_ext.h in fjson-0.1.0 vs ext/state_ext/state_ext.h in fjson-0.1.1
- old
+ new
@@ -1,14 +1,10 @@
#include "ruby.h"
+#include "state_lib.h"
#include <string.h>
static VALUE initialize(int, VALUE*, VALUE);
static VALUE state_allocate(VALUE);
-static VALUE from_state(VALUE, VALUE);
static VALUE hash_value_or_empty_string_default(VALUE, const char*);
-static VALUE seen(VALUE, VALUE);
-static VALUE remember(VALUE, VALUE);
-static VALUE forget(VALUE, VALUE);
-static VALUE get_indent(VALUE);
-static VALUE set_indent(VALUE, VALUE);
-void rb_json_state_indent(VALUE, VALUE, long);
+static VALUE rb_json_state_get_intent(VALUE);
+static VALUE rb_json_state_set_intent(VALUE, VALUE);