oskaritimperi / nimpb

Protocol Buffers for Nim
MIT License
38 stars 6 forks source link

fix build on v1.2 #17

Closed tmokazaki closed 4 years ago

tmokazaki commented 4 years ago

This change seems to be necessary to build on v1.2. We can build both v1.0 and v1.2.

v1.2 does not have newLine parameter for the encode function. Since the original passed empty string for newLine parameter, I assume it is good enough to remove it. Please let me know, if you have any comments.

oskaritimperi commented 4 years ago

If it works, then that's good. :-) Thanks!