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
ce04e56e
Commit
ce04e56e
authored
Nov 26, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
c3055c52
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
wcfs/internal/_wcfs.pyx
wcfs/internal/_wcfs.pyx
+4
-2
No files found.
wcfs/internal/_wcfs.pyx
View file @
ce04e56e
...
@@ -36,6 +36,8 @@ cdef extern from *:
...
@@ -36,6 +36,8 @@ cdef extern from *:
from
libc.stdio
cimport
printf
# XXX temp
from
libc.stdio
cimport
printf
# XXX temp
from
libc.stdint
cimport
int64_t
,
uint64_t
from
libc.stdint
cimport
int64_t
,
uint64_t
from
ZODB.utils
import
p64
# XXX -> pygolang
# XXX -> pygolang
cdef
extern
from
"wcfs_misc.h"
namespace
"io"
nogil
:
cdef
extern
from
"wcfs_misc.h"
namespace
"io"
nogil
:
error
EOF
"io::EOF_"
error
EOF
"io::EOF_"
...
@@ -176,7 +178,7 @@ cdef class PyPinReq:
...
@@ -176,7 +178,7 @@ cdef class PyPinReq:
property
foid
:
property
foid
:
def
__get__
(
PyPinReq
pypin
):
def
__get__
(
PyPinReq
pypin
):
return
p
ypin
.
pinreq
.
foid
# XXX -> oid bytes
return
p
64
(
pypin
.
pinreq
.
foid
)
property
blk
:
property
blk
:
def
__get__
(
PyPinReq
pypin
):
def
__get__
(
PyPinReq
pypin
):
...
@@ -187,7 +189,7 @@ cdef class PyPinReq:
...
@@ -187,7 +189,7 @@ cdef class PyPinReq:
at
=
pypin
.
pinreq
.
at
at
=
pypin
.
pinreq
.
at
if
at
==
TidHead
:
if
at
==
TidHead
:
return
None
return
None
return
at
# XXX -> tid bytes
return
p64
(
at
)
# wcfs_test.py uses req.msg in several places
# wcfs_test.py uses req.msg in several places
property
msg
:
property
msg
:
...
...
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