From: Ville Mattila Date: 2002-01-11T21:44:15+09:00 Subject: Question: How to wrap pipes to struct in c-extensions Hello, I'm wrapping a c library to ruby class. There is one sturct like struct _foo { char *blah; pipe_t my_pipe; int bar; ... } I'm wrapping this with rb_struct_new. Otherwise things are simple, but how can I convert my_pipe to ruby's IO.pipe. The pipe might be closed or open. - Ville