Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
bf3c302b
Commit
bf3c302b
authored
Dec 16, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
784e24ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletion
+20
-1
bigfile/_file_zodb.pyx
bigfile/_file_zodb.pyx
+20
-1
No files found.
bigfile/_file_zodb.pyx
View file @
bf3c302b
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment