Boost logo

Boost :

From: rcspython_at_[hidden]
Date: 2001-02-14 13:33:05


Greetings,
I have been unable to locate how one goes about wrapping static class
methods for use in Python. These methods simply return ints which
indicate how many I/O ports are available for subsequent constructor
calls.
 
class myclass
{
public:
  static int BoardCount(void);
  static int ChannelCount(void);
};

Any help would be greatly appreciated!

BTW, I was blown away how easy it was to actually get my class
wrapped after struggling with SWIG... I was going to just wrap the
class with C! This is a fantastic tool and I would love to help in
expanding the documentation to facilitate the use by others!


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk