Handle changes in the serialization library
This commit is contained in:
parent
cfa9566191
commit
f091a70a5b
|
@ -5,10 +5,10 @@ import
|
||||||
export
|
export
|
||||||
serialization, reader, writer
|
serialization, reader, writer
|
||||||
|
|
||||||
serializationFormat Envvar,
|
serializationFormat Envvar
|
||||||
Reader = EnvvarReader,
|
|
||||||
Writer = EnvvarWriter,
|
Envvar.setReader EnvvarReader
|
||||||
PreferedOutput = void
|
Envvar.setWriter EnvvarWriter, PreferredOutput = void
|
||||||
|
|
||||||
template supports*(_: type Envvar, T: type): bool =
|
template supports*(_: type Envvar, T: type): bool =
|
||||||
# The Envvar format should support every type
|
# The Envvar format should support every type
|
||||||
|
|
|
@ -5,10 +5,10 @@ import
|
||||||
export
|
export
|
||||||
serialization, reader, writer, types
|
serialization, reader, writer, types
|
||||||
|
|
||||||
serializationFormat Winreg,
|
serializationFormat Winreg
|
||||||
Reader = WinregReader,
|
|
||||||
Writer = WinregWriter,
|
Winreg.setReader WinregReader
|
||||||
PreferedOutput = void
|
Winreg.setWriter WinregWriter, PreferredOutput = void
|
||||||
|
|
||||||
template supports*(_: type Winreg, T: type): bool =
|
template supports*(_: type Winreg, T: type): bool =
|
||||||
# The Winreg format should support every type
|
# The Winreg format should support every type
|
||||||
|
|
Loading…
Reference in New Issue