class FFI::MemoryPointer
missing on rubinius
Public Class Methods
Source
# File lib/childprocess/unix/lib.rb, line 179 def self.from_string(str) ptr = new(1, str.bytesize + 1) ptr.write_string("#{str}\0") ptr end
missing on rubinius
# File lib/childprocess/unix/lib.rb, line 179 def self.from_string(str) ptr = new(1, str.bytesize + 1) ptr.write_string("#{str}\0") ptr end