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