From fe4c87fe10ddfb2aeda1d5145985b96405cc01a8 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Mon, 15 Apr 2013 10:49:48 +0000 Subject: [PATCH] Bug: swap between NOARGS and VARARGS for getSomethingUnder(). --- hurricane/src/isobar/PyCell.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/hurricane/src/isobar/PyCell.cpp b/hurricane/src/isobar/PyCell.cpp index ff13f377..38d80b65 100644 --- a/hurricane/src/isobar/PyCell.cpp +++ b/hurricane/src/isobar/PyCell.cpp @@ -650,13 +650,13 @@ extern "C" { , { "getInstances" , (PyCFunction)PyCell_getInstances , METH_NOARGS , "Returns the locator of the collection of all instances called by the cell." } // getInstances , { "getInstancesUnder" , (PyCFunction)PyCell_getInstancesUnder , METH_VARARGS, "Returns the locator of the collection of all instances of the cell intersecting the given rectangular area." } // getInstancesUnder , { "getSlaveInstances" , (PyCFunction)PyCell_getSlaveInstances , METH_NOARGS , "Returns the locator of the collection of instances whose master is this cell." } // getSlaveInstances - , { "getComponents" , (PyCFunction)PyCell_getComponents , METH_VARARGS, "Returns the collection of all components belonging to the cell." } - , { "getComponentsUnder" , (PyCFunction)PyCell_getComponentsUnder , METH_NOARGS , "Returns the collection of all components belonging to this cell and intersecting the given rectangular area." } - , { "getOccurrences" , (PyCFunction)PyCell_getOccurrences , METH_VARARGS, "Returns the collection of all occurrences belonging to the cell." } - , { "getOccurrencesUnder" , (PyCFunction)PyCell_getOccurrencesUnder , METH_NOARGS , "Returns the collection of all occurrences belonging to this cell and intersecting the given rectangular area." } - , { "getLeafInstanceOccurrences" , (PyCFunction)PyCell_getLeafInstanceOccurrences , METH_VARARGS + , { "getComponents" , (PyCFunction)PyCell_getComponents , METH_NOARGS , "Returns the collection of all components belonging to the cell." } + , { "getComponentsUnder" , (PyCFunction)PyCell_getComponentsUnder , METH_VARARGS, "Returns the collection of all components belonging to this cell and intersecting the given rectangular area." } + , { "getOccurrences" , (PyCFunction)PyCell_getOccurrences , METH_NOARGS , "Returns the collection of all occurrences belonging to the cell." } + , { "getOccurrencesUnder" , (PyCFunction)PyCell_getOccurrencesUnder , METH_VARARGS, "Returns the collection of all occurrences belonging to this cell and intersecting the given rectangular area." } + , { "getLeafInstanceOccurrences" , (PyCFunction)PyCell_getLeafInstanceOccurrences , METH_NOARGS , "Returns the collection of all occurrences belonging to the cell." } - , { "getLeafInstanceOccurrencesUnder", (PyCFunction)PyCell_getLeafInstanceOccurrencesUnder, METH_NOARGS + , { "getLeafInstanceOccurrencesUnder", (PyCFunction)PyCell_getLeafInstanceOccurrencesUnder, METH_VARARGS , "Returns the collection of all occurrences belonging to this cell and intersecting the given rectangular area." } , { "getReferences" , (PyCFunction)PyCell_getReferences , METH_VARARGS, "Returns the collection of all references belonging to the cell." } , { "getHyperNets" , (PyCFunction)PyCell_getHyperNets , METH_VARARGS, "Returns the collection of all hyperNets belonging to the cell." }