home
about
news
download
doc
source
systems
tests
bugs
contact
IMP Reference Guide
2.18.0
The Integrative Modeling Platform
IMP Manual
Reference Guide
Tutorial Index
Modules
Classes
Examples
include
IMP
version 2.18.0
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 */