class GModule::Module

Overview

The #GModule struct is an opaque data structure to represent a [dynamically-loaded module][glib-Dynamic-Loading-of-Modules]. It should only be accessed via the following functions.

Defined in:

lib/gi-crystal/src/auto/g_module-2.0/module.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(pointer : Pointer(Void), transfer : GICrystal::Transfer) #

[View source]

Class Method Detail

def self.build_path(directory : String | Nil, module_name : String) : String #

[View source]
def self.error : String #

[View source]
def self.error_quark : UInt32 #

[View source]
def self.supported : Bool #

[View source]

Instance Method Detail

def close : Bool #

[View source]
def make_resident : Nil #

[View source]
def name : String #

[View source]
def symbol(symbol_name : String, symbol : Pointer(Void) | Nil) : Bool #

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

[View source]