struct
WinMD::LibCFuns::Signature
- WinMD::LibCFuns::Signature
- Struct
- Value
- Object
Overview
One fun of the stdlib. Type names are spelled so they resolve from
generated code (::LibC::FILETIME, Pointer(Void), Proc(...)).
#params is nil when the declaration could not be parsed, in which case
only the name is known.
Defined in:
winmd/libc_funs.crConstructors
Instance Method Summary
- #clone
- #copy_with(name _name = @name, real_name _real_name = @real_name, lib_name _lib_name = @lib_name, params _params = @params, return_type _return_type = @return_type, require_path _require_path = @require_path, varargs _varargs = @varargs)
- #lib_name : String
- #name : String
- #params : Array(Param) | Nil
- #real_name : String
- #require_path : String
- #return_type : String
-
#to_s(io : IO) : Nil
Same as
#inspect(io). - #varargs : Bool
Constructor Detail
def self.new(name : String, real_name : String, lib_name : String, params : Array(Param) | Nil, return_type : String, require_path : String, varargs : Bool = false)
#
Instance Method Detail
def copy_with(name _name = @name, real_name _real_name = @real_name, lib_name _lib_name = @lib_name, params _params = @params, return_type _return_type = @return_type, require_path _require_path = @require_path, varargs _varargs = @varargs)
#