Permalink
Browse files

Don't require 'st.h` anymore

  • Loading branch information...
1 parent 3184351 commit 455fb25f4b3334fda0b2be1e0a55f110937cc8e9 @vmg committed Oct 19, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −1 ext/redcarpet/rc_render.c
  2. +0 −1 ext/redcarpet/redcarpet.h
@@ -241,7 +241,7 @@ cb_link_attribute(VALUE key, VALUE val, VALUE payload)
key = rb_obj_as_string(key);
val = rb_obj_as_string(val);
bufprintf(ob, " %s=\"%s\"", StringValueCStr(key), StringValueCStr(val));
- return ST_CONTINUE;
+ return 0;
}
static void
@@ -3,7 +3,6 @@
#define RSTRING_NOT_MODIFIED
#include "ruby.h"
-#include "ruby/st.h"
#include <stdio.h>
#ifdef HAVE_RUBY_ENCODING_H

0 comments on commit 455fb25

Please sign in to comment.