提交 534a1953 authored 作者: Olivier Breuleux's avatar Olivier Breuleux

documented cc.py and cutils.py

上级 7dcce643
差异被折叠。
...@@ -6,6 +6,9 @@ except ImportError: ...@@ -6,6 +6,9 @@ except ImportError:
from scipy import weave from scipy import weave
# The following function takes a PyCObject instance that contains
# a void*->int function in its VoidPtr field. It then calls that
# function on the object's Desc field and returns the int result.
single_runner = """ single_runner = """
if (!PyCObject_Check(py_cthunk)) { if (!PyCObject_Check(py_cthunk)) {
PyErr_SetString(PyExc_ValueError, PyErr_SetString(PyExc_ValueError,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论