mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
other minior internal header tweaks
These headers need no rewrite. Just add some minor tweaks, like addition of #include lines. Mainly cosmetic. TIMET_MAX_PLUS_ONE was deleted because the macro was used from only one place (directly write expression there).
This commit is contained in:
parent
3ae09b30f8
commit
bf53d6c7d1
Notes:
git
2019-12-26 20:45:56 +09:00
25 changed files with 76 additions and 32 deletions
|
@ -9,15 +9,15 @@
|
|||
* modify this file, provided that the conditions mentioned in the
|
||||
* file COPYING are met. Consult the file for details.
|
||||
*/
|
||||
#include "ruby/ruby.h" /* for VALUE */
|
||||
#include "ruby/encoding.h" /* for rb_encodinng */
|
||||
|
||||
/* file.c */
|
||||
extern const char ruby_null_device[];
|
||||
VALUE rb_home_dir_of(VALUE user, VALUE result);
|
||||
VALUE rb_default_home_dir(VALUE result);
|
||||
VALUE rb_realpath_internal(VALUE basedir, VALUE path, int strict);
|
||||
#ifdef RUBY_ENCODING_H
|
||||
VALUE rb_check_realpath(VALUE basedir, VALUE path, rb_encoding *origenc);
|
||||
#endif
|
||||
void rb_file_const(const char*, VALUE);
|
||||
int rb_file_load_ok(const char *);
|
||||
VALUE rb_file_expand_path_fast(VALUE, VALUE);
|
||||
|
@ -28,7 +28,7 @@ int ruby_is_fd_loadable(int fd);
|
|||
|
||||
RUBY_SYMBOL_EXPORT_BEGIN
|
||||
/* file.c (export) */
|
||||
#if defined HAVE_READLINK && defined RUBY_ENCODING_H
|
||||
#ifdef HAVE_READLINK
|
||||
VALUE rb_readlink(VALUE path, rb_encoding *enc);
|
||||
#endif
|
||||
#ifdef __APPLE__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue