Add base.io_transformer

This commit is contained in:
Nigel Tao committed 2020-01-11 21:47:30 +11:00
1 parent 4b669a4181
commit e9fa8d3c28
6 files changed
+115 -11

No files matched your search

+7 -1
View File
@@ -346,16 +346,22 @@ var Funcs = []string{
var Interfaces = []string{
"hasher_u32",
"io_transformer",
}
var InterfacesMap = map[string]bool{
"hasher_u32": true,
"hasher_u32": true,
"io_transformer": true,
}
var InterfaceFuncs = []string{
// ---- hasher_u32
"hasher_u32.update_u32!(x: slice u8) u32",
// ---- io_transformer
"io_transformer.transform_io?(dst: io_writer, src: io_reader, workbuf: slice u8)",
}
// The "T1" and "T2" types here are placeholders for generic "slice T" or