1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-18 21:41:53 +03:00
mobile-nixos/boot/lib/lvgui/lvgl/introspection.rb
2021-01-25 18:40:50 -05:00

15 lines
351 B
Ruby

module LVGL::Introspection
def self.debug?()
LVGL::FFI.lv_introspection_is_debug != 0
end
def self.simulator?()
LVGL::FFI.lv_introspection_is_simulator != 0
end
def self.use_assert_style?()
LVGL::FFI.lv_introspection_use_assert_style != 0
end
def self.display_driver()
LVGL::FFI.lv_introspection_display_driver
end
end