Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
i
m
n
p
r
s
t
u
w
Variables
_
a
b
c
d
e
f
h
i
l
m
n
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
~
Variables
b
c
d
e
f
i
j
l
m
n
o
p
s
t
v
w
x
y
Typedefs
_
a
b
c
d
e
f
i
k
l
m
n
p
q
r
s
t
v
Enumerator
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
i
l
m
n
p
r
s
t
v
z
Functions
_
a
b
c
d
e
f
g
i
l
m
n
p
r
s
t
v
z
Macros
_
b
e
n
p
include
eigenpy
utils
python-compat.hpp
Go to the documentation of this file.
1
//
2
// Copyright (c) 2024 INRIA
3
//
4
//
5
6
#ifndef __eigenpy_utils_python_compat_hpp__
7
#define __eigenpy_utils_python_compat_hpp__
8
9
#if PY_MAJOR_VERSION >= 3
10
11
#define PyInt_Check PyLong_Check
12
13
#define PyStr_Check PyUnicode_Check
14
#define PyStr_FromString PyUnicode_FromString
15
16
#else
17
18
#define PyStr_Check PyString_Check
19
#define PyStr_FromString PyString_FromString
20
21
#endif
22
23
#endif // ifndef __eigenpy_utils_python_compat_hpp__
eigenpy
Author(s): Justin Carpentier, Nicolas Mansard
autogenerated on Fri Feb 14 2025 03:16:25