diff options
author | Guido van Rossum <guido@python.org> | 2001-10-24 20:13:15 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-10-24 20:13:15 (GMT) |
commit | e877f8ba3306be0c76476c1f841d6f5388b675b7 (patch) | |
tree | 58535b7aab583873d072c7f76849ccbc7141f852 /RISCOS/Python/dynload_riscos.c | |
parent | 622cc03f0b5ba8e8e51aaa73c137350fe81564a8 (diff) | |
download | cpython-e877f8ba3306be0c76476c1f841d6f5388b675b7.zip cpython-e877f8ba3306be0c76476c1f841d6f5388b675b7.tar.gz cpython-e877f8ba3306be0c76476c1f841d6f5388b675b7.tar.bz2 |
SF patch #474590 -- RISC OS support
Diffstat (limited to 'RISCOS/Python/dynload_riscos.c')
-rw-r--r-- | RISCOS/Python/dynload_riscos.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/RISCOS/Python/dynload_riscos.c b/RISCOS/Python/dynload_riscos.c index 3c4b1d7..6965647 100644 --- a/RISCOS/Python/dynload_riscos.c +++ b/RISCOS/Python/dynload_riscos.c @@ -52,12 +52,13 @@ dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, { int err; char errstr[256]; + void (*init_function)(void); - err = dlk_load(pathname); + err = dlk_load_no_init(pathname, &init_function); if (err) { sprintf(errstr, "dlk failure %d", err); PyErr_SetString(PyExc_ImportError, errstr); } - return dynload_init_dummy; + return init_function; } |