Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
c0eaaf35
Commit
c0eaaf35
authored
Apr 16, 2014
by
take_cheeze
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move src/re.h to include/mruby/re.h .
parent
93c82514
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
2 deletions
+22
-2
include/mruby/re.h
include/mruby/re.h
+20
-0
src/codegen.c
src/codegen.c
+1
-1
src/string.c
src/string.c
+1
-1
No files found.
src
/re.h
→
include/mruby
/re.h
View file @
c0eaaf35
/*
** 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 */
src/codegen.c
View file @
c0eaaf35
...
...
@@ -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
;
...
...
src/string.c
View file @
c0eaaf35
...
...
@@ -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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment