Add interface struct declarations

This commit is contained in:
Nigel Tao committed 2020-01-06 15:16:27 +11:00
1 parent 5bf070b187
commit 4c9be03baa
6 files changed
+117 -8

No files matched your search

+4
View File
@@ -337,6 +337,10 @@ var Funcs = []string{
"dst: slice u8, dst_palette: slice u8, src: slice u8) u64",
}
var Interfaces = []string{
"hasher_u32",
}
// The "T1" and "T2" types here are placeholders for generic "slice T" or
// "table T" types. After tokenizing (but before parsing) these XxxFunc strings
// (e.g. in the lang/check package), replace "T1" and "T2" with "†" or "‡"