summary refs log tree commit diff stats
path: root/lib/wrappers/python.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/python.nim
parent56b4e3ad91a0dda632ba6bab7139665a3da163d3 (diff)
downloadNim-8d99753d6320489e4de8cf186415b0a7be8260b4.tar.gz
preparations for making 'closure' the default calling convention for proc types
Diffstat (limited to 'lib/wrappers/python.nim')
-rwxr-xr-xlib/wrappers/python.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wrappers/python.nim b/lib/wrappers/python.nim
index 3c5fd46db..3d0b923e2 100755
--- a/lib/wrappers/python.nim
+++ b/lib/wrappers/python.nim
@@ -1156,7 +1156,7 @@ proc PyWeakref_NewProxy*(ob, callback: PPyObject): PPyObject{.cdecl, importc, dy
 proc PyWeakref_NewRef*(ob, callback: PPyObject): PPyObject{.cdecl, importc, dynlib: dllname.}
 proc PyWrapper_New*(ob1, ob2: PPyObject): PPyObject{.cdecl, importc, dynlib: dllname.}
 proc PyBool_FromLong*(ok: int): PPyObject{.cdecl, importc, dynlib: dllname.} #-
-proc Py_AtExit*(prc: proc ()): int{.cdecl, importc, dynlib: dllname.} #-
+proc Py_AtExit*(prc: proc () {.cdecl.}): int{.cdecl, importc, dynlib: dllname.} #-
 #Py_Cleanup:procedure; cdecl, importc, dynlib: dllname;
 #-
 proc Py_CompileString*(s1, s2: cstring, i: int): PPyObject{.cdecl, importc, dynlib: dllname.} #-