Create PyString from underlying char array
| 20 | |
| 21 | // Create PyString from underlying char array |
| 22 | static PyObject* from_string(std::string& value) { |
| 23 | return PyBytes_FromStringAndSize(value.data(), value.size()); |
| 24 | } |
| 25 | }; |
| 26 | |
| 27 | const char* BytesShim::PyArgFormat = "s*"; |
nothing calls this directly
no outgoing calls
no test coverage detected