class Safec::Macros::SafeCStructMacroExample::Unfree
- Safec::Macros::SafeCStructMacroExample::Unfree
- Reference
- Object
Overview
Represents a C pointer to memory that is got free on GC finalize.
This class was automatically defined by the Safec library.
Defined in:
doc/macros.crInstance Method Summary
-
#null?
Tests if this pointer is null.
-
#p : Pointer(Safec::Macros::SafeCStructMacroExample::C::Struct)
Returns this C pointer.
-
#to_unsafe : Pointer(Safec::Macros::SafeCStructMacroExample::C::Struct)
Returns this C pointer.
-
#value
Return the struct value pointed by this pointer.
Instance Method Detail
def to_unsafe : Pointer(Safec::Macros::SafeCStructMacroExample::C::Struct)
#
Returns this C pointer.