mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Added hooks to support importing pyc code from a resource on the mac.
This commit is contained in:
parent
3cfc8bd841
commit
9c96a923fb
2 changed files with 47 additions and 8 deletions
|
@ -23,8 +23,11 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
******************************************************************/
|
||||
|
||||
/* Definitions for dynamic loading of extension modules */
|
||||
|
||||
#ifdef macintosh
|
||||
enum filetype {SEARCH_ERROR, PY_SOURCE, PY_COMPILED, C_EXTENSION, PY_RESOURCE};
|
||||
#else
|
||||
enum filetype {SEARCH_ERROR, PY_SOURCE, PY_COMPILED, C_EXTENSION};
|
||||
#endif
|
||||
|
||||
extern struct filedescr {
|
||||
char *suffix;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue