Merge pull request #66 from Idolf/pub-string
Mark PyStringObject and PyBytesObject as pub
This commit is contained in:
commit
e644f24a2b
|
@ -1,4 +1,4 @@
|
|||
//use stringobject::PyStringObject as PyBytesObject;
|
||||
pub use stringobject::PyStringObject as PyBytesObject;
|
||||
pub use stringobject::PyString_Type as PyBytes_Type;
|
||||
pub use stringobject::PyString_Check as PyBytes_Check;
|
||||
pub use stringobject::PyString_CheckExact as PyBytes_CheckExact;
|
||||
|
|
|
@ -4,7 +4,7 @@ use object::*;
|
|||
|
||||
#[repr(C)]
|
||||
#[allow(missing_copy_implementations)]
|
||||
struct PyStringObject {
|
||||
pub struct PyStringObject {
|
||||
#[cfg(py_sys_config="Py_TRACE_REFS")]
|
||||
pub _ob_next: *mut PyObject,
|
||||
#[cfg(py_sys_config="Py_TRACE_REFS")]
|
||||
|
|
Loading…
Reference in New Issue