diff options
author | Araq <rumpf_a@web.de> | 2014-08-28 00:24:52 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-08-28 00:24:52 +0200 |
commit | df172806ea153c2b058165cc09f836dd79350774 (patch) | |
tree | 5fe905e000745a8c5d87537de6c706bbc5028029 /lib/posix | |
parent | 11b69587554a99deb93ca2447ee3aeeacdb647c5 (diff) | |
download | Nim-df172806ea153c2b058165cc09f836dd79350774.tar.gz |
big rename
Diffstat (limited to 'lib/posix')
-rw-r--r-- | lib/posix/posix.nim | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/posix/posix.nim b/lib/posix/posix.nim index e1bcd9dfc..43139389b 100644 --- a/lib/posix/posix.nim +++ b/lib/posix/posix.nim @@ -29,7 +29,7 @@ {.deadCodeElim:on.} -from times import TTime +from times import Time const hasSpawnH = not defined(haiku) # should exist for every Posix system nowadays @@ -83,8 +83,11 @@ else: ## A type representing a directory stream. type - TSocketHandle* = distinct cint # The type used to represent socket descriptors + SocketHandle* = distinct cint # The type used to represent socket descriptors +{.deprecated: [TSocketHandle: SocketHandle].} + +type Tdirent* {.importc: "struct dirent", header: "<dirent.h>", final, pure.} = object ## dirent_t struct d_ino*: Tino ## File serial number. |