Jeremy Moles wrote:
> typedef struct Foo {
> int x;
> int y;
> int z;
> char xyz[100];
> } Foo;
>
> Is there an "accepted" way of propagating this upstream? I was thinking
> one of these two:
It really depends on the struct. Would a C programmer automatically
be able to li
On Tue, Aug 09, 2005 at 09:15:17PM -0400, Jeremy Moles wrote:
> When using the C API and writing extension modules, how do you normally
> pass a structure up into the python module? For instance, if I have a
> structure:
>
> typedef struct Foo {
> int x;
> int y;
> int z;
>
Jeremy Moles wrote:
> Or, perhaps, there's even a better way? I'm getting more and more
> experienced with the Python/C API, so I don't need a walk-through or
> anything. :) Just an experienced recommendation...
>
Better by far to create a new python type in C that has your struct
inside it and
Just a quick question before I waste time doing something that will
immediately be disregarded as unacceptable code... :)
When using the C API and writing extension modules, how do you normally
pass a structure up into the python module? For instance, if I have a
structure:
typedef struct Foo {