struct WinMD::LibCFuns::Signature

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.cr

Constructors

Instance Method Summary

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) #

[View source]

Instance Method Detail

def clone #

[View source]
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) #

[View source]
def lib_name : String #

def name : String #

def params : Array(Param) | Nil #

def real_name : String #

def require_path : String #

def return_type : String #

def to_s(io : IO) : Nil #
Description copied from struct Struct

Same as #inspect(io).


[View source]
def varargs : Bool #