Parent

Methods

FFI::MemoryPointer

Public Class Methods

from_string(s) click to toggle source
    # File lib/ffi/memorypointer.rb, line 32
32:       def self.from_string(s)
33:         ptr = self.new(s.length + 1, 1, false)
34:         ptr.put_string(0, s)
35:         ptr
36:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.