module

Dragonstone::FFI::Utils

Instance methods

expect_int(arguments : Array(InteropValue), index : Int32, function_name : String) : Int32
Source
expect_optional_bool(arguments : Array(InteropValue), index : Int32, function_name : String, *, default : Bool) : Bool
Source
expect_optional_int(arguments : Array(InteropValue), index : Int32, function_name : String, *, default : Int32) : Int32
Source
expect_optional_string(arguments : Array(InteropValue), index : Int32, function_name : String, *, default : String) : String
Source
expect_string(arguments : Array(InteropValue), index : Int32, function_name : String) : String
Source
format_float(value : Float64) : String
Source
format_value(value : InteropValue) : String
Source
normalize(value) : InteropValue
Source