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).