Update async a bit

This commit is contained in:
Jason Paryani
2013-09-18 17:19:06 -07:00
parent d4150227a7
commit a4cd266f58
2 changed files with 2 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
#include "kj/async.h"
#include "Python.h"
#include <iostream>
extern "C" {
PyObject * wrap_kj_exception(kj::Exception &);
}
@@ -8,7 +8,6 @@ extern "C" {
PyObject * wrapPyFunc(PyObject * func, PyObject * arg) {
PyObject * result = PyObject_CallFunctionObjArgs(func, arg, NULL);
Py_DECREF(func);
Py_DECREF(arg);
return result;
}