IMP logo
IMP Reference Guide  2.20.0
The Integrative Modeling Platform
swig_macros.h
Go to the documentation of this file.
1 /**
2  * \file IMP/swig_macros.h
3  * \brief Macros to hide code from SWIG.
4  *
5  * Copyright 2007-2022 IMP Inventors. All rights reserved.
6  *
7  */
8 
9 #ifndef IMPKERNEL_SWIG_MACROS_H
10 #define IMPKERNEL_SWIG_MACROS_H
11 #include <IMP/kernel_config.h>
12 
13 #if defined(SWIG)
14 #define IMP_NO_SWIG(x)
15 #else
16 //! Hide the line when SWIG is compiled or parses it
17 /** */
18 #define IMP_NO_SWIG(x) x
19 #endif
20 
21 #endif /* IMPKERNEL_SWIG_MACROS_H */