Commit bf3c302b authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 784e24ea
......@@ -28,9 +28,28 @@ cdef extern from "wcfs/internal/wcfs.h":
pass
#from wendelin.bigfile import BigFile
# XXX C++ does not understand -fplan9-extensions
"""
cdef extern from "bigfile/_bigfile.h":
ctypedef extern class _bigfile.BigFile[object PyBigFile]:
ctypedef extern class wendelin.bigfile._bigfile.BigFile[object PyBigFile]:
pass
"""
# FIXME hack, keep in sync with PyBigFile
cdef extern from *:
"""
#include <wendelin/bigfile/file.h>
#include <wendelin/bigfile/virtmem.h>
struct CXXPyBigFile {
PyObject pyobj;
BigFile file;
};
"""
struct CXXPyBigFile:
pass
ctypedef extern class wendelin.bigfile._bigfile.BigFile[object CXXPyBigFile]:
pass
# helper for ZBigFile - just redirect loadblk/storeblk back
# (because it is not possible to inherit from both Persistent and BigFile at
......
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