pombreda / ctypesgen

Automatically exported from code.google.com/p/ctypesgen
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

String argument issue #33

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have a function which takes "String" as argument. If I create a string buffer 
using create_string_buffer and parse that as the argument to the function, it 
fails. The attached patch adds the conversion for c_char arrays which fixes 
this issue.

Please apply.

Original issue reported on code.google.com by l...@segv.dk on 24 Apr 2012 at 11:50

Attachments: