Fix tp_name of objects in Python wrapper.

This commit is contained in:
Ghislain MARY 2014-07-10 15:54:01 +02:00
parent ce1911fe5a
commit 41a2152b03

View file

@ -147,7 +147,7 @@ static PyGetSetDef pylinphone_{{class_name}}_getseters[] = {
static PyTypeObject pylinphone_{{class_name}}Type = {
PyObject_HEAD_INIT(NULL)
0, /* ob_size */
"linphone.{{name}}", /* tp_name */
"linphone.{{class_name}}", /* tp_name */
sizeof(pylinphone_{{class_name}}Object), /* tp_basicsize */
0, /* tp_itemsize */
pylinphone_{{class_name}}_dealloc, /* tp_dealloc */