Changeset 391 for python/trunk/RISCOS/Python
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/RISCOS/Python/dynload_riscos.c
r2 r391 40 40 41 41 const struct filedescr _PyImport_DynLoadFiletab[] = { 42 43 42 {"/pyd", "rb", C_EXTENSION}, 43 {0, 0} 44 44 }; 45 45 … … 49 49 50 50 dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, 51 51 char *pathname, FILE *fp) 52 52 { 53 54 55 53 int err; 54 char errstr[256]; 55 void (*init_function)(void); 56 56 57 58 59 60 61 62 57 err = dlk_load_no_init(pathname, &init_function); 58 if (err) { 59 PyOS_snprintf(errstr, sizeof(errstr), "dlk failure %d", err); 60 PyErr_SetString(PyExc_ImportError, errstr); 61 } 62 return init_function; 63 63 }
Note:
See TracChangeset
for help on using the changeset viewer.