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
2b0135e8
Unverified
Commit
2b0135e8
authored
Apr 26, 2019
by
Yukihiro "Matz" Matsumoto
Committed by
GitHub
Apr 26, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4408 from dearblue/my-ro_data_p
Add customized `mrb_ro_data_p()`
parents
c0787586
302ad847
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
include/mruby/value.h
include/mruby/value.h
+4
-1
No files found.
include/mruby/value.h
View file @
2b0135e8
...
@@ -278,7 +278,10 @@ mrb_undef_value(void)
...
@@ -278,7 +278,10 @@ mrb_undef_value(void)
return
v
;
return
v
;
}
}
#ifdef MRB_USE_ETEXT_EDATA
#if defined(MRB_USE_CUSTOM_RO_DATA_P)
/* If you define `MRB_USE_CUSTOM_RO_DATA_P`, you must implement `mrb_ro_data_p()`. */
mrb_bool
mrb_ro_data_p
(
const
char
*
p
);
#elif defined(MRB_USE_ETEXT_EDATA)
#if (defined(__APPLE__) && defined(__MACH__))
#if (defined(__APPLE__) && defined(__MACH__))
#include <mach-o/getsect.h>
#include <mach-o/getsect.h>
static
inline
mrb_bool
static
inline
mrb_bool
...
...
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