re-export beginRecord(...)
This commit is contained in:
parent
f6de87b80e
commit
c3d2634b97
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue