Update INTEROP.md
This commit is contained in:
committed by
GitHub
parent
058bb728df
commit
2f90e3f055
+1
-1
@@ -321,7 +321,7 @@ neither implicit integer casts nor C-style integer casts (e.g.
|
|||||||
`(size_t) intValue`), so to make writing portable code in such cases easier,
|
`(size_t) intValue`), so to make writing portable code in such cases easier,
|
||||||
the following methods are provided:
|
the following methods are provided:
|
||||||
|
|
||||||
* `fun ${type1}.sizeExtend<${type2}>(): ${type2}`
|
* `fun ${type1}.signExtend<${type2}>(): ${type2}`
|
||||||
* `fun ${type1}.narrow<${type2}>(): ${type2}`
|
* `fun ${type1}.narrow<${type2}>(): ${type2}`
|
||||||
|
|
||||||
where each of `type1` and `type2` must be an integral type.
|
where each of `type1` and `type2` must be an integral type.
|
||||||
|
|||||||
Reference in New Issue
Block a user