Subject:
[ruby-ffi] Re: Getting a pointer from a String
From:
Wayne Meissner
Date:
5/7/11 4:29 PM
To:
ruby-ffi@googlegroups.com
You can't get a pointer to a String, since thats not portable (i.e. not possible on JRuby).
The best you can do is use a MemoryPointer for the iov content, then copy from there to a String.