class Crul::Safe::Easy::Free

Overview

Represents a C pointer to memory that is got free on GC finalize.

This class was automatically defined by the Safec library.

Included Modules

Defined in:

lib/safe/easy.cr:5
lib/safe/easy.cr:7

Instance Method Summary

Instance methods inherited from module Crul::Safe::Easy::AsFree

free(p : Pointer(C::Curl)) free

Instance Method Detail

def free(p) #

[View source]
def null? #

Tests if this pointer is null.


[View source]
def p : Pointer(Void) #

Returns this C pointer.


[View source]
def to_unsafe : Pointer(Void) #

Returns this C pointer.


[View source]