OILS / build / oil-defs / pyext / libc.c / methods.def View on Github | oilshell.org

15 lines, 14 significant
1// pyext/libc.c
2
3static PyMethodDef methods[] = {
4 {"realpath", func_realpath, METH_VARARGS},
5 {"fnmatch", func_fnmatch, METH_VARARGS},
6 {"glob", func_glob, METH_VARARGS},
7 {"regex_search", func_regex_search, METH_VARARGS},
8 {"regex_first_group_match", func_regex_first_group_match, METH_VARARGS},
9 {"print_time", func_print_time, METH_VARARGS},
10 {"gethostname", socket_gethostname, METH_NOARGS},
11 {"get_terminal_width", func_get_terminal_width, METH_NOARGS},
12 {"wcswidth", func_wcswidth, METH_VARARGS},
13 {"cpython_reset_locale", func_cpython_reset_locale, METH_NOARGS},
14 {0},
15};