WinMD
Constants
DEFAULT_TYPE_ALIASES = {"Char" => "UInt16", "Single" => "Float32", "Double" => "Float64", "SByte" => "Int8", "Byte" => "UInt8", "Guid" => "LibC::GUID", "UIntPtr" => "LibC::UIntPtrT", "IntPtr" => "LibC::IntPtrT", "Boolean" => "Bool", "HANDLE" => "LibC::HANDLE"}
Built-in mapping from the .NET-style names used by win32json (and by the
winmd importer) to Crystal types. data_type_aliases.json in the working
directory adds to or overrides these, so a generator run without any
override files still renders every file.
INT_TYPES = {{ Int.subclasses.map do |x| x.stringify end }}
VERSION = {{ (`shards version /tmp/tmp.blKieM/src/src`).chomp.stringify }}
Class methods
apply_overrides
Sourcecrystal_executable=(crystal_executable : String)
Compiler used to discover the LibC functions that must not be redeclared.
crystal_keywords
Sourcecrystal_keywords=(crystal_keywords)
Sourcedata_type_aliases_file
Sourcedll_exceptions_file
Sourcefiles
Sourcefiles=(files)
Sourcefun_aliases?
Sourcefun_exceptions_file
Sourcefun_handle
Sourceinit
SourceOptional list of LibC function names that replaces discovery.
log_file_name
Sourcelog_level
Sourcelog_level=(log_level : Log::Severity)
Sourceoutput_dir
Sourceoverrides_file
Sourceresolve_com_interfaces
Sourcetop_level_namespace
Source