Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
d3b0921f
Commit
d3b0921f
authored
Jan 04, 1999
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Chris Herborth writes:
Donn Cave tells me the PyImport_BeImageID() function isn't needed anymore.
parent
906572a0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
58 deletions
+0
-58
BeOS/PyImport_BeImageID.html
BeOS/PyImport_BeImageID.html
+0
-47
BeOS/README
BeOS/README
+0
-6
Include/import.h
Include/import.h
+0
-5
No files found.
BeOS/PyImport_BeImageID.html
deleted
100644 → 0
View file @
906572a0
<html>
<head>
<title>
PyImport_BeImageID()
</title>
</head>
<body
text=
"#000000"
bgcolor=
"#ffffff"
>
<h1>
PyImport_BeImageID()
</h1>
<dl
compact
>
<dt><strong>
NOTE:
</strong><dt>
<dd>
This is documentation for the BeOS-specific
<code>
PyImport_BeImageID()
</code>
function defined in
<tt>
Python/importdl.c
</tt>
; it should be merged with the
<cite>
Importing Modules
</cite>
section of the
<cite>
Python/C API
</cite>
reference (or it should be the first member of a BeOS-specific
document in the
<tt>
BeOS
</tt>
directory).
</dd>
</dl>
<dl
compact
<
dt
><code>
image_id
<b>
PyImport_BeImageID
</b>
( char *
<i>
name
</i>
)
</code></dt>
<dd>
Return the BeOS image ID (see the
<a
href=
"file:///boot/beos/documentation/Be%20Book/The%20Kernel%20Kit/Images.html"
>
Images
</a>
section in the
<a
href=
"file:///boot/beos/documentation/Be%20Book/The%20Kernel%20Kit/index.html"
>
Kernel
Kit
</a>
) for the module object corresponding to a module
<i>
name
</i>
.
If the specified module is not dynamically loaded,
<code>
PyImport_BeImageID()
</code>
will return
<code>
B_ERROR
</code>
,
otherwise it will return a valid
<code>
image_id
</code>
.
<p>
Using
<code>
PyImport_BeImageID()
</code>
outside of a BeOS-specific
module is probably a very bad idea.
</p></dd>
</dl>
<hr>
<p>
Function added by Donn Cave
(
<a
href=
"mailto:donn@u.washington.edu"
><tt>
donn@u.washington.edu
</tt></a>
),
documented by Chris Herborth
(
<a
href=
"mailto:chrish@qnx.com"
><tt>
chrish@qnx.com
</tt></a>
).
</p>
</body>
</html>
BeOS/README
View file @
d3b0921f
...
...
@@ -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.
...
...
Include/import.h
View file @
d3b0921f
...
...
@@ -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 <kernel/image.h>
extern
DL_IMPORT
(
image_id
)
PyImport_BeImageID
(
char
*
name
);
#endif
struct
_inittab
{
char
*
name
;
void
(
*
initfunc
)();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment