blob: 3fd932f0441fe0e2a765679b0f8dbff898bbdb4e [file] [log] [blame]
#pragma once
// The visibility attribute is to avoid a warning about storing a field in the
// struct that has a different visibility (from pybind) than the struct.
#ifdef _WIN32
#define VISIBILITY_HIDDEN
#else
#define VISIBILITY_HIDDEN __attribute__((visibility("hidden")))
#endif