From: "drbrain (Eric Hodel)" Date: 2013-03-11T12:31:16+09:00 Subject: [ruby-core:53311] [ruby-trunk - Feature #8050][Assigned] struct stat to VALUE should be accessable from the C-API Issue #8050 has been updated by drbrain (Eric Hodel). File file.c.rb_stat_new.patch added Category set to core Status changed from Open to Assigned Assignee changed from ruby-core to matz (Yukihiro Matsumoto) Target version set to current: 2.1.0 This patch seems to implement the feature. ---------------------------------------- Feature #8050: struct stat to VALUE should be accessable from the C-API https://bugs.ruby-lang.org/issues/8050#change-37489 Author: Hanmac (Hans Mackowiak) Status: Assigned Priority: Normal Assignee: matz (Yukihiro Matsumoto) Category: core Target version: current: 2.1.0 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 -- http://bugs.ruby-lang.org/