From d3b0921f57509e0c765c35893ab6a91b7c384d59 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 4 Jan 1999 16:39:38 +0000 Subject: Chris Herborth writes: Donn Cave tells me the PyImport_BeImageID() function isn't needed anymore. --- BeOS/PyImport_BeImageID.html | 47 -------------------------------------------- BeOS/README | 6 ------ Include/import.h | 5 ----- 3 files changed, 58 deletions(-) delete mode 100644 BeOS/PyImport_BeImageID.html diff --git a/BeOS/PyImport_BeImageID.html b/BeOS/PyImport_BeImageID.html deleted file mode 100644 index 2d04528..0000000 --- a/BeOS/PyImport_BeImageID.html +++ /dev/null @@ -1,47 +0,0 @@ - - -PyImport_BeImageID() - - - -

PyImport_BeImageID()

- -
- -
NOTE:
- -
This is documentation for the BeOS-specific - PyImport_BeImageID() function defined in - Python/importdl.c; it should be merged with the - Importing Modules section of the Python/C API - reference (or it should be the first member of a BeOS-specific - document in the BeOS directory).
- -
- -
image_id PyImport_BeImageID( char *name ) - -
Return the BeOS image ID (see the - Images - section in the - Kernel - Kit) for the module object corresponding to a module name. - If the specified module is not dynamically loaded, - PyImport_BeImageID() will return B_ERROR, - otherwise it will return a valid image_id. - -

Using PyImport_BeImageID() outside of a BeOS-specific - module is probably a very bad idea.

- -
- -
-

Function added by Donn Cave -(donn@u.washington.edu), -documented by Chris Herborth -(chrish@qnx.com).

- - - diff --git a/BeOS/README b/BeOS/README index 798f54f..a0f0dc8 100644 --- a/BeOS/README +++ b/BeOS/README @@ -16,12 +16,6 @@ linkmodule - A shell script used by the build process to build the probably need this if you want to build dynamically loaded modules from the Python archives. -PyImport_BeImageID.html - Documentation for a function added to the - Python interpreter under BeOS; not interesting - unless you're writing your own BeOS-specific - modules for dealing with dynamically-loaded - Python modules. - README - This file (obviously!). README.readline-2.2 - Instructions for compiling/installing GNU readline 2.2. diff --git a/Include/import.h b/Include/import.h index 0d99fae..e10ee81 100644 --- a/Include/import.h +++ b/Include/import.h @@ -54,11 +54,6 @@ DL_IMPORT(int) PyImport_ImportFrozenModule Py_PROTO((char *)); extern DL_IMPORT(PyObject *)_PyImport_FindExtension Py_PROTO((char *, char *)); extern DL_IMPORT(PyObject *)_PyImport_FixupExtension Py_PROTO((char *, char *)); -#ifdef __BEOS__ -#include -extern DL_IMPORT(image_id) PyImport_BeImageID( char *name ); -#endif - struct _inittab { char *name; void (*initfunc)(); -- cgit v0.12