summary refs log tree commit diff stats
path: root/lib/wrappers/libcurl.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-07-16 23:00:57 +0200
committerAraq <rumpf_a@web.de>2012-07-16 23:00:57 +0200
commit8d99753d6320489e4de8cf186415b0a7be8260b4 (patch)
tree2008a25dac1df222efc2c205fdf772ba5a533ecc /lib/wrappers/libcurl.nim
parent56b4e3ad91a0dda632ba6bab7139665a3da163d3 (diff)
downloadNim-8d99753d6320489e4de8cf186415b0a7be8260b4.tar.gz
preparations for making 'closure' the default calling convention for proc types
Diffstat (limited to 'lib/wrappers/libcurl.nim')
-rwxr-xr-xlib/wrappers/libcurl.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wrappers/libcurl.nim b/lib/wrappers/libcurl.nim
index 875f1cbc8..bd8616759 100755
--- a/lib/wrappers/libcurl.nim
+++ b/lib/wrappers/libcurl.nim
@@ -104,7 +104,7 @@ type
   Tfree_callback* = proc (p: pointer){.cdecl.}
   Trealloc_callback* = proc (p: pointer, size: int): pointer{.cdecl.}
   Tstrdup_callback* = proc (str: cstring): cstring{.cdecl.}
-  Tcalloc_callback* = proc (nmemb: int, size: int): pointer
+  Tcalloc_callback* = proc (nmemb: int, size: int): pointer{.noconv.}
   Tinfotype* = enum 
     INFO_TEXT = 0, INFO_HEADER_IN, INFO_HEADER_OUT, INFO_DATA_IN, INFO_DATA_OUT, 
     INFO_SSL_DATA_IN, INFO_SSL_DATA_OUT, INFO_END