Permalink
Browse files

lets try and figure out what the hell is going on

  • Loading branch information...
1 parent 0bf82cd commit 90da878318ff51b667e2835ca17e2f2c62f79979 @brianmario committed Sep 22, 2011
Showing with 2 additions and 1 deletion.
  1. +1 −1 ext/yajl/extconf.rb
  2. +1 −0 ext/yajl/yajl_ext.c
View
@@ -2,6 +2,6 @@
require 'rbconfig'
$CFLAGS << ' -Wall -funroll-loops'
-$CFLAGS << ' -Wextra -O0 -ggdb3' if ENV['DEBUG']
+$CFLAGS << ' -Wextra -O0 -ggdb3' #if ENV['DEBUG']
create_makefile('yajl/yajl')
View
@@ -193,6 +193,7 @@ void yajl_encode_part(void * wrapper, VALUE obj, VALUE io) {
status = yajl_gen_number(w->encoder, cptr, len);
} else {
str = rb_funcall(obj, intern_to_s, 0);
+ rb_p(str);
Check_Type(str, T_STRING);
cptr = RSTRING_PTR(str);
len = RSTRING_LEN(str);

0 comments on commit 90da878

Please sign in to comment.