Re: How to pass String BYREF to C function?

"Diez B. Roggisch" <[email protected]>
Newsgroups gmane.comp.python.ctypes
Message-ID <[email protected]>
On Wednesday, August 18, 2010 14:16:18 Andrew Wilson wrote:
> Hey Lynton,
>   Your c code needs to properly terminate the string with a '\n' in order
> for python to print the result correctly.

Last time I checked, \0 was the character to terminate C-strings.

Diez

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.