class
WinMD::Include
- WinMD::Include
- Reference
- Object
Defined in:
winmd/template/include.crConstant Summary
-
EXTERNAL_REFS_FILENAME =
"external_refs.cr" -
Filename of the single consolidated file that holds placeholder aliases for foreign (non-
Windows.Win32) namespaces. Lives at the lib root.
Constructors
-
.new(api : String, file : WinMD::File)
api will be a string like "System.Com" tfile is the current TFile being processed.
Instance Method Summary
- #==(other : String)
- #==(other : Include)
- #api : String
- #file : WinMD::File
- #filename : String
-
#foreign?
True if the included api lives outside the projected Win32 namespace tree.
- #path : String
- #qualified_path
- #render
- #resolve_path
- #same_file : Bool
Constructor Detail
def self.new(api : String, file : WinMD::File)
#
api will be a string like "System.Com" tfile is the current TFile being processed.
Instance Method Detail
def foreign?
#
True if the included api lives outside the projected Win32 namespace
tree. The importer remaps foreign WinRT namespaces (Windows.Foundation
etc.) onto a WinRT.* prefix, so api refs that survived projection
with that marker are the ones to consolidate.