Project

General

Profile

Actions

Feature #8050

closed

struct stat to VALUE should be accessable from the C-API

Added by Hanmac (Hans Mackowiak) about 11 years ago. Updated over 10 years ago.

Status:
Closed
Target version:
[ruby-core:53225]

Description

filc.c has methods to turn an struct stat into an File::Stat, the problem is that this methods are not accessable from the outside, and cant me mimiced my coping into the c-Ext code.

so it would be good if there where a VALUE rb_stat_new(stuct stat); or something like that for the C-API


Files

file.c.rb_stat_new.patch (1.83 KB) file.c.rb_stat_new.patch drbrain (Eric Hodel), 03/11/2013 12:31 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0