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
aee82981
Commit
aee82981
authored
Nov 01, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
f72b7f1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
wcfs/internal/_wcfs.pyx
wcfs/internal/_wcfs.pyx
+3
-1
No files found.
wcfs/internal/_wcfs.pyx
View file @
aee82981
...
@@ -58,7 +58,7 @@ cdef class PyWCFS:
...
@@ -58,7 +58,7 @@ cdef class PyWCFS:
cdef
class
PyWatchLink
:
cdef
class
PyWatchLink
:
cdef
WatchLink
*
wlink
cdef
WatchLink
*
wlink
def
__
x
init__
(
PyWatchLink
pywlink
,
PyWCFS
pywc
):
def
__init__
(
PyWatchLink
pywlink
,
PyWCFS
pywc
):
with
nogil
:
with
nogil
:
_
=
wcfs_openwatch_pyexc
(
pywc
.
wc
)
_
=
wcfs_openwatch_pyexc
(
pywc
.
wc
)
pywlink
.
wlink
=
_
.
first
pywlink
.
wlink
=
_
.
first
...
@@ -67,6 +67,8 @@ cdef class PyWatchLink:
...
@@ -67,6 +67,8 @@ cdef class PyWatchLink:
if
err
!=
nil
:
if
err
!=
nil
:
raise
RuntimeError
(
err
.
Error
())
# XXX exc class?
raise
RuntimeError
(
err
.
Error
())
# XXX exc class?
# XXX __dealloc__
def
close
(
PyWatchLink
pywlink
):
def
close
(
PyWatchLink
pywlink
):
with
nogil
:
with
nogil
:
err
=
wlink_close_pyexc
(
pywlink
.
wlink
)
err
=
wlink_close_pyexc
(
pywlink
.
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