From: "andrenth (Andre Nathan)" Date: 2013-03-11T22:21:04+09:00 Subject: [ruby-core:53317] [ruby-trunk - Feature #8050] struct stat to VALUE should be accessable from the C-API Issue #8050 has been updated by andrenth (Andre Nathan). Can we also have a way to create a Dir object from a DIR pointer? Something like rb_dir_new(DIR *dir). ---------------------------------------- Feature #8050: struct stat to VALUE should be accessable from the C-API https://bugs.ruby-lang.org/issues/8050#change-37503 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/