*** empty log message ***

This commit is contained in:
Dave Goodwin
2005-07-14 18:54:10 +00:00
parent d0de362e22
commit d6611f5878
21 changed files with 91 additions and 44 deletions

View File

@@ -86,7 +86,7 @@ ct_writelogfile(PyObject *self, PyObject *args)
{
int iok;
char *logfile;
if (!PyArg_ParseTuple(args, "s:ck2cti", &logfile))
if (!PyArg_ParseTuple(args, "s:writelogfile", &logfile))
return NULL;
iok = writelogfile(logfile);
if (iok == -1) { return reportCanteraError();}

View File

@@ -38,6 +38,20 @@ py_mix_addPhase(PyObject *self, PyObject *args)
}
static PyObject *
py_mix_init(PyObject *self, PyObject *args)
{
int i;
int _val;
if (!PyArg_ParseTuple(args, "i:mix_init", &i))
return NULL;
_val = mix_init(i);
if (_val < 0) return reportCanteraError();
return Py_BuildValue("i",_val);
}
static PyObject *
py_mix_nElements(PyObject *self, PyObject *args)
{

View File

@@ -257,6 +257,7 @@ static PyMethodDef ct_methods[] = {
{"mix_new", py_mix_new, METH_VARARGS},
{"mix_del", py_mix_del, METH_VARARGS},
{"mix_addPhase", py_mix_addPhase, METH_VARARGS},
{"mix_init", py_mix_init, METH_VARARGS},
{"mix_nElements", py_mix_nElements, METH_VARARGS},
{"mix_elementIndex", py_mix_elementIndex, METH_VARARGS},
{"mix_speciesIndex", py_mix_speciesIndex, METH_VARARGS},