Searched refs:py_s (Results 1 – 2 of 2) sorted by relevance
112 py::str py_s = PyUnicode_DecodeLatin1(s.data(), s.length());113 return py_s;
2858 PyObject *py_s = PyUnicode_FromStringAndSize("str\0", 4); in test_unicode_compare_with_ascii() local2860 if (py_s == NULL) in test_unicode_compare_with_ascii()2862 result = PyUnicode_CompareWithASCIIString(py_s, "str"); in test_unicode_compare_with_ascii()2863 Py_DECREF(py_s); in test_unicode_compare_with_ascii()