Commit c0eaaf35 authored by take_cheeze's avatar take_cheeze

Move src/re.h to include/mruby/re.h .

parent 93c82514
/*
** re.h - Regexp class
** mruby/re.h - Regexp class
**
** See Copyright Notice in mruby.h
*/
#ifndef RE_H
#define RE_H
#ifndef MRUBY_RE_H
#define MRUBY_RE_H
#ifdef __cplusplus
extern "C" {
#endif
#define REGEXP_CLASS "Regexp"
#ifdef __cplusplus
}
#endif
#endif /* RE_H */
......@@ -16,7 +16,7 @@
#include "mruby/debug.h"
#include "node.h"
#include "opcode.h"
#include "re.h"
#include "mruby/re.h"
#include "mrb_throw.h"
typedef mrb_ast_node node;
......
......@@ -14,7 +14,7 @@
#include "mruby/class.h"
#include "mruby/range.h"
#include "mruby/string.h"
#include "re.h"
#include "mruby/re.h"
#define STR_EMBED_P(s) ((s)->flags & MRB_STR_EMBED)
#define STR_SET_EMBED_FLAG(s) ((s)->flags |= MRB_STR_EMBED)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment