From 28b4c6bc5ce22ceaf0f5db99e33588e51bfa8037 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Sat, 4 May 2013 13:57:34 +0000 Subject: [PATCH] Bug: correct function binding for getAnchorHook(). --- hurricane/src/isobar/PyContact.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hurricane/src/isobar/PyContact.cpp b/hurricane/src/isobar/PyContact.cpp index 4ba778ea..e9d9d453 100644 --- a/hurricane/src/isobar/PyContact.cpp +++ b/hurricane/src/isobar/PyContact.cpp @@ -85,7 +85,7 @@ extern "C" { PyMethodDef PyContact_Methods[] = { { "destroy" , (PyCFunction)PyContact_destroy , METH_NOARGS , "Destroy associated hurricane object, the python object remains." } - , { "getAnchorHook" , (PyCFunction)PyContact_getWidth , METH_NOARGS , "Return the contact anchor hook." } + , { "getAnchorHook" , (PyCFunction)PyContact_getAnchorHook , METH_NOARGS , "Return the contact anchor hook." } , { "getWidth" , (PyCFunction)PyContact_getWidth , METH_NOARGS , "Return the contact width." } , { "getHalfWidth" , (PyCFunction)PyContact_getHalfWidth , METH_NOARGS , "Return the contact half width." } , { "getHeight" , (PyCFunction)PyContact_getHeight , METH_NOARGS , "Return the contact height." }