Handle changes in the serialization library

This commit is contained in:
Zahary Karadjov 2021-03-19 04:01:44 +02:00
parent cfa9566191
commit f091a70a5b
No known key found for this signature in database
GPG Key ID: C8936F8A3073D609
2 changed files with 8 additions and 8 deletions

View File

@ -5,10 +5,10 @@ import
export
serialization, reader, writer
serializationFormat Envvar,
Reader = EnvvarReader,
Writer = EnvvarWriter,
PreferedOutput = void
serializationFormat Envvar
Envvar.setReader EnvvarReader
Envvar.setWriter EnvvarWriter, PreferredOutput = void
template supports*(_: type Envvar, T: type): bool =
# The Envvar format should support every type

View File

@ -5,10 +5,10 @@ import
export
serialization, reader, writer, types
serializationFormat Winreg,
Reader = WinregReader,
Writer = WinregWriter,
PreferedOutput = void
serializationFormat Winreg
Winreg.setReader WinregReader
Winreg.setWriter WinregWriter, PreferredOutput = void
template supports*(_: type Winreg, T: type): bool =
# The Winreg format should support every type