Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing init file for cybin module #256

Merged
merged 7 commits into from
Jun 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
libraries=libraries))
ext_modules.append(Extension("thriftpy2.transport.sasl.cysasl",
["thriftpy2/transport/sasl/cysasl.c"]))
ext_modules.append(Extension("thriftpy2.protocol.cybin",
ext_modules.append(Extension("thriftpy2.protocol.cybin.cybin",
["thriftpy2/protocol/cybin/cybin.c"],
libraries=libraries))

Expand Down
1 change: 1 addition & 0 deletions thriftpy2/protocol/cybin/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from .cybin import *
3 changes: 1 addition & 2 deletions thriftpy2/protocol/cybin/cybin.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ from cpython cimport bool

import six

from thriftpy2.thrift import TDecodeException
from thriftpy2.transport.cybase cimport CyTransportBase, STACK_STRING_LEN

from ..thrift import TDecodeException

cdef extern from "endian_port.h":
int16_t htobe16(int16_t n)
int32_t htobe32(int32_t n)
Expand Down
Loading