annotate BeOS/PyImport_BeImageID.html @ 9383:2b34461ba4a3 legacy-trunk

PyMapping_SetItemString() returns int, not an object.
author Guido van Rossum <guido@python.org>
date Fri, 16 Oct 1998 17:43:53 +0000
parents 0edd38db2288
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8817
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
1 <html>
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
2 <head>
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
3 <title>PyImport_BeImageID()</title>
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
4 </head>
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
5 <body text="#000000" bgcolor="#ffffff">
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
6
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
7 <h1>PyImport_BeImageID()</h1>
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
8
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
9 <dl compact>
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
10
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
11 <dt><strong>NOTE:</strong><dt>
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
12
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
13 <dd>This is documentation for the BeOS-specific
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
14 <code>PyImport_BeImageID()</code> function defined in
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
15 <tt>Python/importdl.c</tt>; it should be merged with the
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
16 <cite>Importing Modules</cite> section of the <cite>Python/C API</cite>
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
17 reference (or it should be the first member of a BeOS-specific
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
18 document in the <tt>BeOS</tt> directory).</dd>
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
19
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
20 </dl>
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
21
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
22 <dl compact
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
23
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
24 <dt><code>image_id <b>PyImport_BeImageID</b>( char *<i>name</i> )</code></dt>
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
25
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
26 <dd>Return the BeOS image ID (see the
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
27 <a href="file:///boot/beos/documentation/Be%20Book/The%20Kernel%20Kit/Images.html">Images</a>
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
28 section in the
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
29 <a href="file:///boot/beos/documentation/Be%20Book/The%20Kernel%20Kit/index.html">Kernel
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
30 Kit</a>) for the module object corresponding to a module <i>name</i>.
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
31 If the specified module is not dynamically loaded,
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
32 <code>PyImport_BeImageID()</code> will return <code>B_ERROR</code>,
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
33 otherwise it will return a valid <code>image_id</code>.
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
34
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
35 <p>Using <code>PyImport_BeImageID()</code> outside of a BeOS-specific
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
36 module is probably a very bad idea.</p></dd>
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
37
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
38 </dl>
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
39
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
40 <hr>
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
41 <p>Function added by Donn Cave
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
42 (<a href="mailto:donn@u.washington.edu"><tt>donn@u.washington.edu</tt></a>),
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
43 documented by Chris Herborth
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
44 (<a href="mailto:chrish@qnx.com"><tt>chrish@qnx.com</tt></a>).</p>
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
45
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
46 </body>
0edd38db2288 Adding the BeOS port. More checkins to follow.
Guido van Rossum <guido@python.org>
parents:
diff changeset
47 </html>