Linux

Assembly of Python External C++ procedure returning the value of string type

Writing C++ procedure below we get a final answer as C++ string , then via sequence of operations which convert string to the pointer (say c) to “const char” and finally return required value via pointer to PyObject provided by PyUnicode_FromString(c) to Python Runtime module.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Comment moderation is enabled. Your comment may take some time to appear.

Back to top button