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
cf5155f8
Commit
cf5155f8
authored
May 03, 2014
by
take_cheeze
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Suppress warning when using readline in mirb.
parent
c2bd0d33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
mrbgems/mruby-bin-mirb/tools/mirb/mirb.c
mrbgems/mruby-bin-mirb/tools/mirb/mirb.c
+7
-5
No files found.
mrbgems/mruby-bin-mirb/tools/mirb/mirb.c
View file @
cf5155f8
...
@@ -8,11 +8,7 @@
...
@@ -8,11 +8,7 @@
#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <string.h>
#include "mruby.h"
#include <stdio.h>
#include "mruby/array.h"
#include "mruby/proc.h"
#include "mruby/compile.h"
#include "mruby/string.h"
#ifdef ENABLE_READLINE
#ifdef ENABLE_READLINE
#include <readline/readline.h>
#include <readline/readline.h>
...
@@ -38,6 +34,12 @@ static const char *history_file_name = ".mirb_history";
...
@@ -38,6 +34,12 @@ static const char *history_file_name = ".mirb_history";
char
history_path
[
PATH_MAX
];
char
history_path
[
PATH_MAX
];
#endif
#endif
#include "mruby.h"
#include "mruby/array.h"
#include "mruby/proc.h"
#include "mruby/compile.h"
#include "mruby/string.h"
static
void
static
void
p
(
mrb_state
*
mrb
,
mrb_value
obj
,
int
prompt
)
p
(
mrb_state
*
mrb
,
mrb_value
obj
,
int
prompt
)
{
{
...
...
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