assuming all string in the cythonized string use the legacy python2
string type, instead of using the unicode, and assuming all c strings
are ASCII, so we don't need encode/decode them when coerce from/to C
strings.
this helps when generating py3 bindings
Signed-off-by: Kefu Chai <kchai@redhat.com>
-# cython: embedsignature=True
+# cython: embedsignature=True, c_string_type=str, c_string_encoding=ascii
"""
This module is a thin wrapper around librados.
-# cython: embedsignature=True
+# cython: embedsignature=True, c_string_type=str, c_string_encoding=ascii
"""
This module is a thin wrapper around librbd.