re-export beginRecord(...)

This commit is contained in:
Dustin Brody 2019-11-25 13:35:39 +01:00
parent f6de87b80e
commit c3d2634b97
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ template enumerateSubFields(holder, fieldVar, body: untyped) =
func writeVarSizeType(w: var SszWriter, value: auto) {.gcsafe.} func writeVarSizeType(w: var SszWriter, value: auto) {.gcsafe.}
func beginRecord(w: var SszWriter, TT: type): auto = func beginRecord*(w: var SszWriter, TT: type): auto =
type T = TT type T = TT
when isFixedSize(T): when isFixedSize(T):
FixedSizedWriterCtx() FixedSizedWriterCtx()