<div class="gmail_quote">A variable whose data type is PyUnicodeObject needs to be passed to a
function as an argument whose data type should be PyBytesObject type <br><br>example
:<br>function (PyByteObject* a){</div><div class="gmail_quote">.....operations....</div><div class="gmail_quote">}<br>PyUnicodeObject *p = somevalue; <br>function((PyBytesObject *)p);<br><br>ouptut: Got a Bus Error.<br>
<br><br></div>