projects
/
linpy.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Simplify BasicSet.__str__
[linpy.git]
/
pypol
/
_isl.c
1
#include <Python.h>
2
#include <isl/space.h>
3
4
static
PyMethodDef _isl_methods
[] = {
5
{
NULL
,
NULL
,
0
,
NULL
}
6
};
7
8
static struct
PyModuleDef _islmodule
= {
9
PyModuleDef_HEAD_INIT
,
10
"_isl"
,
11
NULL
,
12
-
1
,
13
_isl_methods
14
};
15
16
PyMODINIT_FUNC
PyInit__isl
(
void
) {
17
PyObject
*
m
;
18
m
=
PyModule_Create
(&
_islmodule
);
19
if
(
m
==
NULL
)
20
return
NULL
;
21
22
PyModule_AddObject
(
m
,
"isl_dim_set"
,
PyLong_FromLong
(
isl_dim_set
));
23
24
return
m
;
25
}