Py::Object ParameterGrpPy::remInt(const Py::Tuple& args) { char *pstr; if (!PyArg_ParseTuple(args.ptr(), "s", &pstr)) throw Py::Exception(); _cParamGrp->RemoveInt(pstr); return Py::None(); }
PyObject *ParameterGrpPy::PyRemInt(PyObject *args) { char *pstr; if (!PyArg_ParseTuple(args, "s", &pstr)) // convert args: Python->C return NULL; // NULL triggers exception PY_TRY { _cParamGrp->RemoveInt(pstr); Py_Return; }PY_CATCH; }