Module: GLib

Extended by:
FFI::Library
Defined in:
lib/vips.rb

Overview

This module uses FFI to make a simple layer over the glib and gobject libraries.

Constant Summary collapse

G_FREE =

save the FFI::Function that attach will return ... we can use it directly as a param for callbacks

attach_function :g_free, [:pointer], :void

Class Method Summary collapse

Class Method Details

.set_log_domain(domain) ⇒ Object



26
27
28
# File 'lib/vips.rb', line 26

def self.set_log_domain domain
    glib_log_domain = domain
end