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