Ruby: include/ruby/internal/intern/file.h Source File

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

file.h
Go to the documentation of this file.
1#ifndef RBIMPL_INTERN_FILE_H /*-*-C++-*-vi:se ft=cpp:*/
2#define RBIMPL_INTERN_FILE_H
23#include "ruby/internal/dllexport.h"
24#include "ruby/internal/value.h"
25
26 RBIMPL_SYMBOL_EXPORT_BEGIN()
27
28/* file.c */
29 VALUE rb_file_s_expand_path(int, const VALUE *);
30 VALUE rb_file_expand_path(VALUE, VALUE);
31 VALUE rb_file_s_absolute_path(int, const VALUE *);
32 VALUE rb_file_absolute_path(VALUE, VALUE);
33 VALUE rb_file_dirname(VALUE fname);
34int rb_find_file_ext(VALUE*, const char* const*);
35 VALUE rb_find_file(VALUE);
36 VALUE rb_file_directory_p(VALUE,VALUE);
37 VALUE rb_str_encode_ospath(VALUE);
38int rb_is_absolute_path(const char *);
39
40 RBIMPL_SYMBOL_EXPORT_END()
41
42#endif /* RBIMPL_INTERN_FILE_H */
dllexport.h
Tewaking visibility of C variables/functions.
RBIMPL_SYMBOL_EXPORT_END
#define RBIMPL_SYMBOL_EXPORT_END()
Counterpart of RBIMPL_SYMBOL_EXPORT_BEGIN.
Definition: dllexport.h:86
RBIMPL_SYMBOL_EXPORT_BEGIN
#define RBIMPL_SYMBOL_EXPORT_BEGIN()
Shortcut macro equivalent to RUBY_SYMBOL_EXPORT_BEGIN extern "C" {.
Definition: dllexport.h:77
rb_file_s_expand_path
VALUE rb_file_s_expand_path(int, const VALUE *)
Definition: file.c:4116
rb_str_encode_ospath
VALUE rb_str_encode_ospath(VALUE)
Definition: file.c:251
rb_file_directory_p
VALUE rb_file_directory_p(VALUE, VALUE)
Definition: file.c:1646
rb_find_file
VALUE rb_find_file(VALUE)
Definition: file.c:6404
rb_file_absolute_path
VALUE rb_file_absolute_path(VALUE, VALUE)
Definition: file.c:4157
rb_is_absolute_path
int rb_is_absolute_path(const char *)
Definition: file.c:6177
rb_file_s_absolute_path
VALUE rb_file_s_absolute_path(int, const VALUE *)
Definition: file.c:4164
rb_find_file_ext
int rb_find_file_ext(VALUE *, const char *const *)
Definition: file.c:6345
rb_file_expand_path
VALUE rb_file_expand_path(VALUE, VALUE)
Definition: file.c:4103
rb_file_dirname
VALUE rb_file_dirname(VALUE fname)
Definition: file.c:4732
const
#define const
Definition: strftime.c:108
value.h
Defines VALUE and ID.
VALUE
unsigned long VALUE
Definition: value.h:38