MeshLib C++ Docs
Loading...
Searching...
No Matches
MRPybind11.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRPch/MRSuppressWarning.h>
4
5MR_SUPPRESS_WARNING_PUSH
6#if defined( __clang__ )
7#pragma clang diagnostic ignored "-Wgnu-zero-variadic-macro-arguments"
8#endif
9#if defined( _MSC_VER )
10#pragma warning( disable: 4100 )
11#pragma warning( disable: 4189 )
12#pragma warning( disable: 4191 )
13#pragma warning( disable: 4355 )
14#pragma warning( disable: 4464 )
15#pragma warning( disable: 4548 )
16#endif
17
18#ifdef __linux__
20#undef _POSIX_C_SOURCE
21#undef _XOPEN_SOURCE
22#include <Python.h>
23#endif
24
25#include <pybind11/pybind11.h>
26#include <pybind11/operators.h>
27#include <pybind11/stl_bind.h>
28#include <pybind11/numpy.h>
29
30MR_SUPPRESS_WARNING_POP