python-module/cpplmodule.cc
/**
 * Set up stuff for cppl such as directory in /tmp/.
 */
Set up stuff for cppl such as directory in /tmp/.
Set up stuff for cppl such as directory in / tmp / .
static PyObject *cpplmodule_init(PyObject *self, PyObject *args)
{
  PyObject *retval;
  int ret;
  ret = cppl_init();
  if (ret != 0) {
    return PyErr_Format(CpplError, "cppl_init() failed");
  }
  retval = Py_BuildValue("i", ret);
  return retval;
}
static PyObject * cpplmodule_init ( PyObject * self , PyObject * args ) { PyObject * retval ; int ret ; ret = cppl_init ( ) ; if ( ret != 0 ) { return PyErr_Format ( CpplError , " " ) ; } retval = Py_BuildValue ( " " , ret ) ; return retval ; }
Set up stuff for cppl such as directory in /tmp/.
Set up stuff for cppl such as directory in / tmp / .