diff options
author | Dominik Picheta <dominikpicheta@googlemail.com> | 2013-06-25 20:10:28 +0100 |
---|---|---|
committer | Dominik Picheta <dominikpicheta@googlemail.com> | 2013-06-25 20:10:28 +0100 |
commit | bacb20a379a7ce607bc53f9c917ac675579569a8 (patch) | |
tree | 404f0aca1a1b1150261cd28b8fbebbf6283a04c9 /examples/maximum.nim | |
parent | 9540a93d9542d9d1fed4f5a149156ba43da9be80 (diff) | |
download | Nim-bacb20a379a7ce607bc53f9c917ac675579569a8.tar.gz |
Deprecated OSError, and modified it to require an explicit OS error code.
The deprecated functions include the OSError and OSErrorMsg, the name did not change however the signature of the new functions did. They now require a TOSErrorCode value be passed to them. This value can be retrieved using OSLastError. The reason this was done is because on Windows any win api call can reset the last error code to 0, this change allows the user to immediately grab the error code and worry about the string representation later if needs be.
Diffstat (limited to 'examples/maximum.nim')
0 files changed, 0 insertions, 0 deletions