mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 00:47:28 +01:00
Add syntax support for implementing interfaces
This commit is contained in:
1 parent
8f5983f151
commit
ea54c2ea11
10 files changed
+249
-97
No files matched your search
@@ -13,7 +13,7 @@
|
||||
// limitations under the License.
|
||||
|
||||
// TODO: drop the '?' but still generate wuffs_adler32__hasher__initialize?
|
||||
pub struct hasher?(
|
||||
pub struct hasher? implements base.hasher_u32(
|
||||
state : base.u32,
|
||||
started : base.bool,
|
||||
)
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
// limitations under the License.
|
||||
|
||||
// TODO: drop the '?' but still generate wuffs_crc32__ieee_hasher__initialize?
|
||||
pub struct ieee_hasher?(
|
||||
pub struct ieee_hasher? implements base.hasher_u32(
|
||||
state : base.u32,
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user