Added hooks to support importing pyc code from a resource on the mac.

This commit is contained in:
Jack Jansen 1995-02-15 22:57:06 +00:00
parent 3cfc8bd841
commit 9c96a923fb
2 changed files with 47 additions and 8 deletions

View file

@ -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;