From: Ivan A. Vigasin (vig_at_[hidden])
Date: 2001-10-01 12:34:49
On Mon, 1 Oct 2001 daveh-lists_at_[hidden] wrote:
> The simple solution is to just declare the members as read-write (see
> http://www.boost.org/libs/python/doc/special.html and look for
> def_read_write), unless they are pointers,
> then the solution will
> depend upon the context in which they are used.
I have C function, that accepts following struct as argument:
const char *name;
void *value; // pointer to data
unsigned MFSize; // size of data
I want to be able to use it from python.
What it is possible to do with union and pointers. Compiler want's accept it.
Regards, Ivan <vig_at_[hidden]>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk