Returning Dir objects from C extensions
|Target version:||next minor|
In 1.8 it was possible to return Dir objects from C extensions by mimicking the code in dir.c and using DataWrapStruct(rbcDir, dirmark, dirfree, dirp). This doesn't work in 1.9+, so it would be nice to have the Dir methods exposed to C extensions. For example, something like "VALUE rbdir_new(DIR *)".