• Jason Rhinelander's avatar
    Force hidden visibility on pybind code · a859dd67
    Jason Rhinelander authored
    This adds a PYBIND11_NAMESPACE macro that expands to the `pybind11`
    namespace with hidden visibility under gcc-type compilers, and otherwise
    to the plain `pybind11`.  This then forces hidden visibility on
    everything in pybind, solving the visibility issues discussed at end
    end of #949.
    a859dd67
class_support.h 23.4 KB