1 2 #ifndef PYTHONIC_CORE_HPP 3 #define PYTHONIC_CORE_HPP 4 5 #define PYTHONIC_NS_BEGIN \ 6 namespace \ 7 { \ 8 namespace pythonic \ 9 { 10 #define PYTHONIC_NS_END \ 11 } \ 12 } 13 14 // mostly to flag '_' as unused in generated code 15 #ifdef WIN32 16 #define PYTHRAN_UNUSED 17 #else 18 #define PYTHRAN_UNUSED __attribute__((unused)) 19 #endif 20 21 // for backward compatibility 22 #ifdef USE_BOOST_SIMD 23 #define USE_XSIMD 24 #endif 25 26 #define STR_(M) #M 27 // clang-format off 28 #define INCLUDE_FILE(U, M) STR_(U/M.hpp) 29 // clang-format on 30 31 #include "pythonic/types/assignable.hpp" 32 #include "pythonic/types/combined.hpp" 33 34 #include "pythonic/types/int.hpp" 35 #include "pythonic/types/float.hpp" 36 #include "pythonic/types/slice.hpp" 37 38 #endif 39