struct

WinMD::LibCFuns::Signature

Inherits Struct < Value < Object

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.

Constructors

new(name : String, real_name : String, lib_name : String, params : Array(Param) | Nil, return_type : String, require_path : String, varargs : Bool = false)
Source

Instance methods

clone
Source
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)
Source
lib_name
name
params
real_name
require_path
return_type
to_s(io : IO) : Nil

Same as #inspect(io).

Source
varargs