Added wrappers for joyent's libuv and http_parser librarier

This commit is contained in:
Zahary Karadjov 2011-10-12 16:24:23 +03:00
commit 49d924c20b
3 changed files with 783 additions and 0 deletions

View file

@ -886,6 +886,10 @@ type # these work for most platforms:
## This is the same as the type ``short`` in *C*.
cint* {.importc: "int", nodecl.} = int32
## This is the same as the type ``int`` in *C*.
csize* {.importc: "size_t", nodecl.} = int
## This is the same as the type ``size_t`` in *C*.
cptrdiff* {.importc: "ptrdiff_t", nodecl.} = int
## This is the same as the type ``ptrdiff_t`` in *C*.
clong* {.importc: "long", nodecl.} = int
## This is the same as the type ``long`` in *C*.
clonglong* {.importc: "long long", nodecl.} = int64