class GLib::SList(T)

Included Modules

Defined in:

lib/gi-crystal/src/bindings/g_lib/slist.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(list : Pointer(LibGLib::SList), transfer : GICrystal::Transfer) #

[View source]

Instance Method Detail

def [](n : Int32) : T #

[View source]
def []?(n : Int32) : T | Nil #

[View source]
def each(&block : T -> _) #
Description copied from module Enumerable(T)

Must yield this collection's elements to the block.


[View source]
def finalize #

[View source]
def size #
Description copied from module Enumerable(T)

Returns the number of elements in the collection.

[1, 2, 3, 4].size # => 4

[View source]
def to_unsafe #

[View source]