Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-10-01 11:38:48

In C++, a struct is a class. Just wrap the struct as you would any class,
and return it by value. You can use the techniques described here to provide
access to attributes.


  David Abrahams, C++ library designer for hire

        C++ Booster (
          email: david.abrahams_at_[hidden]

----- Original Message -----
From: "Ivan A. Vigasin" <vig_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Monday, October 01, 2001 11:54 AM
Subject: [boost] Handling C structs in python

> Hello, All
> I need to pass C structs from C++ to python.
> What is the usual way of doing whis?
> Thanks
> Regards, Ivan <vig_at_[hidden]>
> ICQ: 22181170
> Info: Unsubscribe:
> Your use of Yahoo! Groups is subject to

Boost list run by bdawes at, gregod at, cpdaniel at, john at