Replace deprecated methods from old api:

PythonReturnErrorObject
  PythonIncRef

Fix some compiler warnings about missing initializers
in method tables.
This commit is contained in:
Stephen Swaney
2004-06-06 22:42:51 +00:00
parent d97e3e5527
commit a703837179
28 changed files with 98 additions and 106 deletions

View File

@@ -136,7 +136,7 @@ static PyMethodDef BPy_Text_methods[] = {
"(name, val) - Set attribute 'name' to value 'val'"},
{"asLines", (PyCFunction)Text_asLines, METH_VARARGS,
"() - Return text buffer as a list of lines"},
{0}
{NULL, NULL, 0, NULL}
};
/*****************************************************************************/