pyanatomist 6.0.0
awindow.h
Go to the documentation of this file.
1
2/* This software and supporting documentation are distributed by
3 * Institut Federatif de Recherche 49
4 * CEA/NeuroSpin, Batiment 145,
5 * 91191 Gif-sur-Yvette cedex
6 * France
7 *
8 * This software is governed by the CeCILL license version 2 under
9 * French law and abiding by the rules of distribution of free software.
10 * You can use, modify and/or redistribute the software under the
11 * terms of the CeCILL license version 2 as circulated by CEA, CNRS
12 * and INRIA at the following URL "http://www.cecill.info".
13 *
14 * As a counterpart to the access to the source code and rights to copy,
15 * modify and redistribute granted by the license, users are provided only
16 * with a limited warranty and the software's author, the holder of the
17 * economic rights, and the successive licensors have only limited
18 * liability.
19 *
20 * In this respect, the user's attention is drawn to the risks associated
21 * with loading, using, modifying and/or developing or reproducing the
22 * software by the user in light of its specific status of free software,
23 * that may mean that it is complicated to manipulate, and that also
24 * therefore means that it is reserved for developers and experienced
25 * professionals having in-depth computer knowledge. Users are therefore
26 * encouraged to load and test the software's suitability as regards their
27 * requirements in conditions enabling the security of their systems and/or
28 * data to be ensured and, more generally, to use and operate it in the
29 * same conditions as regards security.
30 *
31 * The fact that you are presently reading this means that you have had
32 * knowledge of the CeCILL license version 2 and that you accept its terms.
33 */
34#ifndef PYANATOMIST_AWINDOW_H
35#define PYANATOMIST_AWINDOW_H
36
37#include <anatomist/window/Window.h>
38
40{
41 return sipConvertFromType( a, sipType_anatomist_AWindow, 0 );
42}
43
44
45inline void* pyanatomistConvertTo_anatomist_AWindowP( PyObject * o )
46{
47 int isErr = 0;
48 return sipConvertToType( o, sipType_anatomist_AWindow, 0, 0, 0,
49 &isErr );
50}
51
52
53inline int pyanatomistAWindowP_Check( PyObject* o )
54{
55 return sipCanConvertToType( o, sipType_anatomist_AWindow,
56 SIP_NOT_NONE | SIP_NO_CONVERTORS );
57}
58
59#endif
60
PyObject * pyanatomistConvertFrom_anatomist_AWindowP(void *a)
Definition awindow.h:39
int pyanatomistAWindowP_Check(PyObject *o)
Definition awindow.h:53
void * pyanatomistConvertTo_anatomist_AWindowP(PyObject *o)
Definition awindow.h:45