|
Re: Overriding PyArg_ParseTuple arguments: msg#00154programming.swig
On Wed, Nov 26, 2003 at 12:11:50AM -0600, David Beazley wrote: > %typemap(in,parse="z") char * ""; Perfect. Now how about using the "s#" format character, which expands a Python string into two C arguments, a char* and an int representing the length of the string? It requires adding an additional argument to the PyArg_ParseTuple call. --Tessa _______________________________________________ Swig maillist - Swig@xxxxxxxxxxxxxxx http://mailman.cs.uchicago.edu/mailman/listinfo/swig |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Null reference: 00154, Luigi Ballabio |
|---|---|
| Next by Date: | Re: Overriding PyArg_ParseTuple arguments: 00154, David Beazley |
| Previous by Thread: | Re: Overriding PyArg_ParseTuple argumentsi: 00154, David Beazley |
| Next by Thread: | Re: Overriding PyArg_ParseTuple arguments: 00154, David Beazley |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |