summaryrefslogtreecommitdiff
path: root/profiles/linkage/pycompile.h
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/linkage/pycompile.h')
-rw-r--r--profiles/linkage/pycompile.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/profiles/linkage/pycompile.h b/profiles/linkage/pycompile.h
new file mode 100644
index 0000000..9cdd7ac
--- /dev/null
+++ b/profiles/linkage/pycompile.h
@@ -0,0 +1,26 @@
+#ifndef PY_LINKAGE_PYCOMPILE_H
+#define PY_LINKAGE_PYCOMPILE_H
+
+PY_INIT_FUNC(init_collections);
+PY_INIT_FUNC(init_functools);
+PY_INIT_FUNC(init_heapq);
+PY_INIT_FUNC(init_locale);
+
+PY_INIT_FUNC(inititertools);
+PY_INIT_FUNC(initoperator);
+PY_INIT_FUNC(initreadline);
+PY_INIT_FUNC(initstrop);
+PY_INIT_FUNC(initunicodedata);
+
+#define PY_IMPORT_INITTAB_PYCOMPILE_CORE \
+ {"_collections", init_collections}, \
+ {"_functools", init_functools}, \
+ {"_heapq", init_heapq}, \
+ {"_locale", init_locale}, \
+ {"itertools", inititertools}, \
+ {"operator", initoperator}, \
+ {"readline", initreadline}, \
+ {"strop", initstrop}, \
+ {"unicodedata", initunicodedata}
+
+#endif