Re: ctypes shared object FILE*

2008-11-13 Thread member thudfoo
On 11/8/08, Dog Walker [EMAIL PROTECTED] wrote: I need to call a function in a shared object with this signature: init_dialog(FILE *input, FILE *output) The FILE*'s are to stdin and stdout. The call from python is libdialog.init_dialog( x, y) I need to define x and y so that they will

ctypes shared object FILE*

2008-11-08 Thread Dog Walker
I need to call a function in a shared object with this signature: init_dialog(FILE *input, FILE *output) The FILE*'s are to stdin and stdout. The call from python is libdialog.init_dialog( x, y) I need to define x and y so that they will have the structure of sys.stdin and sys.stdout; the called

Re: ctypes shared object FILE*

2008-11-08 Thread Aaron Brady
On Nov 8, 6:34 pm, Dog Walker [EMAIL PROTECTED] wrote: I need to call a function in a shared object with this signature: init_dialog(FILE *input, FILE *output) The FILE*'s are to stdin and stdout. The call from python is libdialog.init_dialog( x, y) I need to define x and y so that they will