Module: LibUI
- Defined in:
- lib/libui.rb,
lib/libui/ffi.rb,
lib/libui/utils.rb,
lib/libui/version.rb,
lib/libui/libui_base.rb,
lib/libui/fiddle_patch.rb
Defined Under Namespace
Modules: FFI, Utils Classes: Error
Constant Summary collapse
- VERSION =
'0.0.10'
Class Attribute Summary collapse
-
.ffi_lib ⇒ Object
Returns the value of attribute ffi_lib.
Class Method Summary collapse
Class Attribute Details
.ffi_lib ⇒ Object
Returns the value of attribute ffi_lib.
10 11 12 |
# File 'lib/libui.rb', line 10 def ffi_lib @ffi_lib end |
Class Method Details
.init(opt = FFI::InitOptions.malloc) ⇒ Object
27 28 29 30 31 32 33 |
# File 'lib/libui.rb', line 27 def init(opt = FFI::InitOptions.malloc) i = super(opt) return if i.size.zero? warn 'error' warn UI.free_init_error(init) end |