Class | NiceFFI::TypedPointer |
In: |
lib/nice-ffi/typedpointer.rb
|
Parent: | Object |
TypedPointer represents a :pointer (FFI type) that is a specific struct type. You can use TypedPointer( SomeStructClass ) instead of :pointer in these situations:
type | [R] |
Create a new TypedPointer whose type is the given struct class.
type must be a class (not an instance) which is a descendent of FFI::Struct (or is FFI::Struct itself).
options must be a Hash of zero or more options. The current meaningful options are: