Skip to content

Commit d405546

Browse files
committed
Correct type export example
1 parent e85cf31 commit d405546

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎docs/Zune software/Iris/compiled-uix.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,13 @@ The Type Export Declarations are composed of two tables: the Export Table and Al
7878

7979
The Export Table is a length-prefixed (`UInt16`) list of exports, where each export is a type defined with a [reference](#string-references) to the local name and the [markup type](#markuptype).
8080

81-
The Alias Table allows a UIB file to export imported types under a different name. Each entry is exactly 20 (`0x14`) bytes long and is composed of the desired alias, the dependency to load it from, and the name of the target type. Both the alias and target type name are stored a [string references](#string-references). The dependency is always referred to using an index, either into the [Type Import Table](#type-import-table) of the [Shared Binary Data Table](#binary-data-table) if one is specified, or the file's [dependencies](#dependencies).
81+
The Alias Table allows a UIB file to export imported types under a different name. Each entry is exactly 10 (`0x0A`) bytes long and is composed of the desired alias, the dependency to load it from, and the name of the target type. Both the alias and target type name are stored a [string references](#string-references). The dependency is always referred to using an index, either into the [Type Import Table](#type-import-table) of the [Shared Binary Data Table](#binary-data-table) if one is specified, or the file's [dependencies](#dependencies).
8282

8383
Offset into entry | Meaning
8484
------------------- | ---------
8585
`0x00` | [String reference](#string-references) to the desired Alias
8686
`0x04` | `UInt16` index into the [Dependencies](#dependencies) list
87+
`0x06` | [String reference](#string-references) to the target type name
8788

8889
### Binary Data Table
8990
The Binary Data Table consists of several subtables, with each one containing a different types of constant data. These subtables are stored in the following order:

0 commit comments

Comments
 (0)