From df172806ea153c2b058165cc09f836dd79350774 Mon Sep 17 00:00:00 2001 From: Araq Date: Thu, 28 Aug 2014 00:24:52 +0200 Subject: big rename --- lib/posix/posix.nim | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'lib/posix') 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: "", final, pure.} = object ## dirent_t struct d_ino*: Tino ## File serial number. -- cgit 1.4.1-2-gfad0