| #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 |