1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* include/ruby/intern.h (rb_file_s_absolute_path),

(rb_file_absolute_path): prototyped.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2008-08-29 23:59:32 +00:00
parent 727625d9d4
commit 24aba08054
3 changed files with 15 additions and 10 deletions

View file

@ -1,3 +1,8 @@
Sat Aug 30 08:59:25 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* include/ruby/intern.h (rb_file_s_absolute_path),
(rb_file_absolute_path): prototyped.
Sat Aug 30 08:09:36 2008 NARUSE, Yui <naruse@ruby-lang.org>
* encoding.c (enc_compatible_p): use TYPE not BUILTIN_TYPE.

4
file.c
View file

@ -2942,9 +2942,7 @@ rb_file_absolute_path(VALUE fname, VALUE dname)
*/
VALUE
rb_file_s_absolute_path(argc, argv)
int argc;
VALUE *argv;
rb_file_s_absolute_path(int argc, VALUE *argv)
{
VALUE fname, dname;

View file

@ -319,6 +319,8 @@ VALUE rb_exec_recursive(VALUE(*)(VALUE, VALUE, int),VALUE,VALUE);
/* file.c */
VALUE rb_file_s_expand_path(int, VALUE *);
VALUE rb_file_expand_path(VALUE, VALUE);
VALUE rb_file_s_absolute_path(int, VALUE *);
VALUE rb_file_absolute_path(VALUE, VALUE);
void rb_file_const(const char*, VALUE);
int rb_find_file_ext(VALUE*, const char* const*);
VALUE rb_find_file(VALUE);