Module: Tgui::Abi

Extended by:
Fiddle::Importer
Defined in:
lib/white_gold/tgui-abi.rb,
lib/white_gold/generated/tgui-abi-loader.gf.rb

Constant Summary collapse

Vector2f =
struct [
  'float x',
  'float y'
]
Vector2u =
struct [
  'int x',
  'int y'
]
UIntRect =
struct [
  'int left',
  'int top',
  'int width',
  'int height'
]

Class Method Summary collapse

Class Method Details

.call_arg_map!(a) ⇒ Object



16
17
18
19
20
21
22
23
24
25
# File 'lib/white_gold/tgui-abi.rb', line 16

def self.call_arg_map! a
  a.map! do
    case _1
    when ExternObject then _1.pointer
    when true then 1
    when false then 0
    else _1
    end
  end
end