summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-string-utf8/src/string.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-04-17 07:53:02 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-04-17 07:53:02 +0900
commit26c0f8a77279d46cc19e21234581620a8a6bdb72 (patch)
treebe78417bdc7236a706699ad5056acff047f036bf /mrbgems/mruby-string-utf8/src/string.c
parent93c82514dcce47f7c72d1ab24fcbecdacbd072d6 (diff)
parentb5824f3649fbe56ae6117f9f7c194955b07eea17 (diff)
downloadmruby-26c0f8a77279d46cc19e21234581620a8a6bdb72.tar.gz
mruby-26c0f8a77279d46cc19e21234581620a8a6bdb72.zip
Merge pull request #2067 from take-cheeze/move_re_h
Move src/re.h to include/mruby/re.h .
Diffstat (limited to 'mrbgems/mruby-string-utf8/src/string.c')
-rw-r--r--mrbgems/mruby-string-utf8/src/string.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/mrbgems/mruby-string-utf8/src/string.c b/mrbgems/mruby-string-utf8/src/string.c
index da348f4fb..7ce3b9f75 100644
--- a/mrbgems/mruby-string-utf8/src/string.c
+++ b/mrbgems/mruby-string-utf8/src/string.c
@@ -1,12 +1,10 @@
#include "mruby.h"
#include "mruby/string.h"
#include "mruby/range.h"
+#include "mruby/re.h"
#include <ctype.h>
#include <string.h>
-/* TODO: duplicate definition in src/re.h */
-#define REGEXP_CLASS "Regexp"
-
static const char utf8len_codepage[256] =
{
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,