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
f21a2d91
Commit
f21a2d91
authored
Dec 03, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
1b4bee0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
wcfs/internal/_wcfs.pyx
wcfs/internal/_wcfs.pyx
+11
-4
No files found.
wcfs/internal/_wcfs.pyx
View file @
f21a2d91
...
...
@@ -93,12 +93,11 @@ cdef extern from "wcfs.h" nogil:
pair
[
Conn
,
error
]
connect
(
Tid
at
)
cppclass
_Conn
:
# XXX
pass
error
close
()
cppclass
Conn
(
refptr
[
_Conn
]):
#
XXX
pass
#
Conn.X = Conn->X in C++
error
close
"_ptr()->close"
()
cdef
class
PyWCFS
:
...
...
@@ -131,6 +130,14 @@ cdef class PyConn:
def
__dealloc__
(
PyConn
pywconn
):
pywconn
.
wconn
=
nil
def
close
(
PyConn
pywconn
):
with
nogil
:
err
=
pywconn
.
wconn
.
close
()
if
err
!=
nil
:
raise
pyerr
(
err
)
# XXX resync
cdef
class
PyWatchLink
:
cdef
WatchLink
wlink
...
...
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