Kaydet (Commit) 6157741b authored tarafından Suleyman Poyraz's avatar Suleyman Poyraz Kaydeden (comit) GitHub

Update pyiks3.c

üst 55dc1aa6
......@@ -161,7 +161,13 @@ static PyTypeObject Iter_type = {
0 /* tp_new */
};
/*** Nodes ***/
/*** Nodes ***/
/******************************************/
/* where is Node_type */
/* Bu kısımda kod yazarken type'ları */
/*başka bir şekilde yapıyorduk ama nasıl? */
/******************************************/
static PyObject *
new_node(Document *doc, iks *xml)
{
......@@ -175,7 +181,7 @@ new_node(Document *doc, iks *xml)
doc->document = xml;
ref = 0;
}
node = PyObject_New(Node, &Node_type);
node = PyObject_New(Node, &Node_type); /*nesi eksik bu Node_type'ın* ne gözden ne kaçtı acaba?*/
node->doc = doc;
if (ref) {
Py_INCREF(doc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment