diff options
author | midipix <writeonce@midipix.org> | 2018-12-16 18:55:42 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-12-18 20:38:41 -0500 |
commit | ca0fc2f788d341fbed9056ac4f34ddd09ef61c3d (patch) | |
tree | e5973e614a2992d78976a74b45fca461bc5ed177 /profiles | |
parent | d856581aa9910c0d4162e0f78e175043cf55a2bd (diff) | |
download | sbpython3-ca0fc2f788d341fbed9056ac4f34ddd09ef61c3d.tar.bz2 sbpython3-ca0fc2f788d341fbed9056ac4f34ddd09ef61c3d.tar.xz |
project: added rules and definitions for building the build-local pycompile.
Diffstat (limited to 'profiles')
-rw-r--r-- | profiles/linkage/pycompile.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/profiles/linkage/pycompile.h b/profiles/linkage/pycompile.h new file mode 100644 index 0000000..ad74185 --- /dev/null +++ b/profiles/linkage/pycompile.h @@ -0,0 +1,24 @@ +#ifndef PY_LINKAGE_PYCOMPILE_H +#define PY_LINKAGE_PYCOMPILE_H + +PY_INIT_FUNC(_decimal); +PY_INIT_FUNC(_elementtree); +PY_INIT_FUNC(_heapq); +PY_INIT_FUNC(_posixsubprocess); + +PY_INIT_FUNC(math); +PY_INIT_FUNC(readline); +PY_INIT_FUNC(select); +PY_INIT_FUNC(termios); + +#define PY_IMPORT_INITTAB_PYCOMPILE_CORE \ + {"_decimal", PyInit__decimal}, \ + {"_elementtree", PyInit__elementtree}, \ + {"_heapq", PyInit__heapq}, \ + {"_posixsubprocess", PyInit__posixsubprocess}, \ + {"math", PyInit_math}, \ + {"readline", PyInit_readline}, \ + {"select", PyInit_select}, \ + {"termios", PyInit_termios} + +#endif |