Sha256: eac7e599c15ca9f8a1d3b1a4d92ce7c8dfdc5cc4864cf7cce0303f2bdd2eb7d9
Contents?: true
Size: 522 Bytes
Versions: 116
Compression:
Stored size: 522 Bytes
Contents
#ifndef FILE_READING_H #define FILE_READING_H #include <ruby.h> typedef struct { FILE *file; size_t length; char *path; // Information processed from file path ID multiprocess_mode; ID type; VALUE pid; } file_t; typedef struct { char *buffer; size_t size; size_t capacity; } buffer_t; int file_close(file_t *file); int file_open_from_params(file_t *file, VALUE params); int read_from_file(const file_t *source, buffer_t *data); void buffer_dispose(buffer_t *buffer); #endif
Version data entries
116 entries across 116 versions & 1 rubygems