Commit ce04e56e authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent c3055c52
......@@ -36,6 +36,8 @@ cdef extern from *:
from libc.stdio cimport printf # XXX temp
from libc.stdint cimport int64_t, uint64_t
from ZODB.utils import p64
# XXX -> pygolang
cdef extern from "wcfs_misc.h" namespace "io" nogil:
error EOF "io::EOF_"
......@@ -176,7 +178,7 @@ cdef class PyPinReq:
property foid:
def __get__(PyPinReq pypin):
return pypin.pinreq.foid # XXX -> oid bytes
return p64(pypin.pinreq.foid)
property blk:
def __get__(PyPinReq pypin):
......@@ -187,7 +189,7 @@ cdef class PyPinReq:
at = pypin.pinreq.at
if at == TidHead:
return None
return at # XXX -> tid bytes
return p64(at)
# wcfs_test.py uses req.msg in several places
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