Re: How to pass String BYREF to C function?

Andrew Wilson <[email protected]>
Newsgroups gmane.comp.python.ctypes
Message-ID <[email protected]>
You are correct, sorry about that.
  Andrew

2010/8/18 Diez B. Roggisch <[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

_______________________________________________
ctypes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ctypes-users
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.