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
a3e1e535
Commit
a3e1e535
authored
Apr 17, 2014
by
Tomoyuki Sahara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
function declarations should be in a header file.
parent
9f5ff9dd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
include/mruby/ext/io.h
include/mruby/ext/io.h
+1
-0
src/file.c
src/file.c
+0
-2
No files found.
include/mruby/ext/io.h
View file @
a3e1e535
...
...
@@ -46,6 +46,7 @@ struct mrb_io {
mrb_value
mrb_open_file
(
mrb_state
*
mrb
,
int
argc
,
mrb_value
*
argv
,
mrb_value
io
);
void
fptr_finalize
(
mrb_state
*
mrb
,
struct
mrb_io
*
fptr
,
int
noraise
);
mrb_value
mrb_file_exist
(
mrb_state
*
mrb
,
mrb_value
fname
);
mrb_value
mrb_io_fileno
(
mrb_state
*
mrb
,
mrb_value
io
);
#if defined(__cplusplus)
}
/* extern "C" { */
...
...
src/file.c
View file @
a3e1e535
...
...
@@ -59,8 +59,6 @@
#define STAT(p, s) stat(p, s)
extern
mrb_value
mrb_io_fileno
(
mrb_state
*
mrb
,
mrb_value
io
);
mrb_value
mrb_file_s_umask
(
mrb_state
*
mrb
,
mrb_value
klass
)
...
...
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