LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News
User Name
Password
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.

Notices


Reply
  Search this Thread
Old 07-23-2021, 07:42 PM   #1
LXer
LXer NewsBot
 
Registered: Dec 2005
Posts: 128,361

Rep: Reputation: 118Reputation: 118
LXer: Assembly of Python External C++ procedure returning the value of string type


Published at LXer:

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.

Read More...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Assembly of Python External C++ procedure using 2D vector LXer Syndicated Linux News 0 07-08-2021 05:11 PM
LXer: Simultaneous assembly Python External C++ procedures returning vector and integer LXer Syndicated Linux News 0 06-29-2021 07:45 AM
Issue Returning string to char * return type function atharvdesai1996 Programming 5 06-13-2020 12:00 PM
difference between value *value and value * value PoleStar Linux - Newbie 1 11-26-2010 03:37 PM
LXer: Python Python Python (aka Python 3) LXer Syndicated Linux News 0 08-05-2009 08:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News

All times are GMT -5. The time now is 07:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration