Files
pybindgen/examples/cross_module_inheritance
Mike Owen cd928374b0 The cross module inheritance example is now working. Aside from my figuring out waf, there
are two key things that were necessary:

1.  We have to turn off the -fvisibility=hidden flag, since this hides the symbols in our
    shared libraries from others.  There's probably a better way to handle this, but this
    is expedient for now.

2.  Since I'm testing with GNU compilers & linkers, I have to use the magic lines in python
    before importing the inter-dependent modules (see test_cross_module_inheritance.py):

    import sys, ctypes
    sys.setdlopenflags(sys.getdlopenflags() | ctypes.RTLD_GLOBAL)

    This shouldn't be necessary on all platforms.
2012-12-11 16:01:44 -08:00
..