Skip to content

Commit

Permalink
Miscellaneous refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdrake committed Mar 22, 2015
1 parent fe0639c commit c6d6160
Show file tree
Hide file tree
Showing 3 changed files with 148 additions and 120 deletions.
4 changes: 2 additions & 2 deletions pyeda/boolalg/exprnodemodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -1308,7 +1308,7 @@ PyInit_exprnode(void)
/* Create exprnode.ExprNode */
if (PyType_Ready(&ExprNode_T) < 0)
goto decref_Error;
Py_INCREF(&ExprNode_T);
Py_INCREF((PyObject *) &ExprNode_T);
if (PyModule_AddObject(m, "ExprNode", (PyObject *) &ExprNode_T) < 0)
goto decref_ExprNode;

Expand Down Expand Up @@ -1370,7 +1370,7 @@ PyInit_exprnode(void)
decref_Zero:
Py_DECREF(_Zero);
decref_ExprNode:
Py_DECREF(&ExprNode_T);
Py_DECREF((PyObject *) &ExprNode_T);
decref_Error:
Py_DECREF(Error);

Expand Down

0 comments on commit c6d6160

Please sign in to comment.