Subject: [ruby-ffi] FFI::Struct and struct stat |
From: Christoph Kappel |
Date: 5/19/10 4:45 AM |
To: ruby-ffi |
Hello, I am having some problems with creating a FFI::Struct for struct stat (usr/include/bits/stat.h), the problem is besides the many ifdefs related to x86/x86_64 the padding fields. I doubt that I can use the struct generator, because these padding fields are inside ifdefs too. Did anyone of you came across similar problems?