Ruby
3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
include
ruby
internal
core
rfile.h
Go to the documentation of this file.
1
#ifndef RBIMPL_RFILE_H
/*-*-C++-*-vi:se ft=cpp:*/
2
#define RBIMPL_RFILE_H
23
#include "
ruby/internal/core/rbasic.h
"
24
#include "
ruby/internal/cast.h
"
25
26
/* rb_io_t is in ruby/io.h. The header file has historically not been included
27
* into ruby/ruby.h. We follow that tradition. */
28
struct
rb_io_t
;
29
30
struct
RFile
{
31
struct
RBasic
basic
;
32
struct
rb_io_t
*
fptr
;
33
};
34
35
#define RFILE(obj) RBIMPL_CAST((struct RFile *)(obj))
36
#endif
/* RBIMPL_RFILE_H */
cast.h
Defines RBIMPL_CAST.
rbasic.h
Defines struct RBasic.
RBasic
Definition:
rbasic.h:47
RFile
Definition:
rfile.h:30
RFile::basic
struct RBasic basic
Definition:
rfile.h:31
RFile::fptr
struct rb_io_t * fptr
Definition:
rfile.h:32
rb_io_t
Definition:
io.h:61
Generated by
1.9.5