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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Joshua
wendelin.core
Commits
6a6da1ad
Commit
6a6da1ad
authored
Dec 19, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
f4fa63a9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
bigfile/_bigfile.c
bigfile/_bigfile.c
+13
-1
No files found.
bigfile/_bigfile.c
View file @
6a6da1ad
...
...
@@ -953,6 +953,18 @@ pyfileh_open(PyObject *pyfile0, PyObject *args)
}
static
void
pyfile_dealloc
(
PyObject
*
pyfile0
)
{
PyBigFile
*
pyfile
=
container_of
(
pyfile0
,
PyBigFile
,
pyobj
);
pyfile
->
blkmmap_ops
=
NULL
;
Py_CLEAR
(
pyfile
->
blkmmapper_pycapsule
);
pyfile
->
pyobj
.
ob_type
->
tp_free
(
&
pyfile
->
pyobj
);
}
static
PyObject
*
pyfile_new
(
PyTypeObject
*
type
,
PyObject
*
args
,
PyObject
*
kw
)
{
...
...
@@ -1014,7 +1026,7 @@ static PyTypeObject PyBigFile_Type = {
.
tp_flags
=
Py_TPFLAGS_DEFAULT
|
Py_TPFLAGS_BASETYPE
,
.
tp_methods
=
pyfile_methods
,
.
tp_members
=
pyfile_members
,
.
tp_dealloc
=
NULL
,
// XXX
.
tp_dealloc
=
pyfile_dealloc
,
.
tp_new
=
pyfile_new
,
.
tp_doc
=
"Base class for creating BigFile(s)
\n\n
TODO describe"
,
// XXX
};
...
...
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