Commit ce04e56e authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent c3055c52
...@@ -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 pypin.pinreq.foid # XXX -> oid bytes return p64(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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment