Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't require 'st.h` anymore

  • Loading branch information...
commit 455fb25f4b3334fda0b2be1e0a55f110937cc8e9 1 parent 3184351
@vmg authored
Showing with 1 addition and 2 deletions.
  1. +1 −1  ext/redcarpet/rc_render.c
  2. +0 −1  ext/redcarpet/redcarpet.h
View
2  ext/redcarpet/rc_render.c
@@ -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
View
1  ext/redcarpet/redcarpet.h
@@ -3,7 +3,6 @@
#define RSTRING_NOT_MODIFIED
#include "ruby.h"
-#include "ruby/st.h"
#include <stdio.h>
#ifdef HAVE_RUBY_ENCODING_H
Please sign in to comment.
Something went wrong with that request. Please try again.