Project

General

Profile

Feature #10050 » 0002-rb_io_buffer_t.patch

normalperson (Eric Wong), 07/17/2014 05:13 AM

View differences:

include/ruby/io.h
RUBY_SYMBOL_EXPORT_BEGIN
typedef struct {
typedef PACKED_STRUCT(struct {
char *ptr; /* off + len <= capa */
int off;
int len;
int capa;
} rb_io_buffer_t;
}) rb_io_buffer_t;
typedef struct rb_io_t {
FILE *stdio_file; /* stdio ptr for read/write if available */
-
(3-3/3)