struct Novika::FFI::VariadicFunction
- Novika::FFI::VariadicFunction
- Novika::FFI::Function
- Struct
- Value
- Object
Overview
Calls a variadic C function.
Defined in:
novika/ffi.crConstructors
Instance Method Summary
-
#call(block : Block) : Form | Nil
Drops arguments from block and calls this function.
-
#id : String
Returns the identifier of this function.
Instance methods inherited from struct Novika::FFI::Function
call(block : Block) : Form | Nil
call,
id : String
id,
initialize
initialize
Constructor methods inherited from struct Novika::FFI::Function
new
new
Constructor Detail
def self.new(id : String, handle : Pointer(Void), fixed_arg_types : Array(ForeignType), var_arg_allowed : Array(ForeignType), return_type : ForeignType)
#
Instance Method Detail
Description copied from struct Novika::FFI::Function
Drops arguments from block and calls this function.
Returns the resulting form, or nil in case this function
returns Nothing
(C void
).
Description copied from struct Novika::FFI::Function
Returns the identifier of this function.