Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / tools / src / nas,5.n2.os.2 / lib / python / html / python / api / types.html
CommitLineData
86530b38
AT
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<html>
3<head>
4<link rel="STYLESHEET" href="api.css" type='text/css' />
5<link rel="SHORTCUT ICON" href="../icons/pyfav.png" type="image/png" />
6<link rel='start' href='../index.html' title='Python Documentation Index' />
7<link rel="first" href="api.html" title='Python/C API Reference Manual' />
8<link rel='contents' href='contents.html' title="Contents" />
9<link rel='index' href='genindex.html' title='Index' />
10<link rel='last' href='about.html' title='About this document...' />
11<link rel='help' href='about.html' title='About this document...' />
12<link rel="prev" href="refcounts.html" />
13<link rel="parent" href="objects.html" />
14<link rel="next" href="exceptions.html" />
15<meta name='aesop' content='information' />
16<title>1.2.2 Types </title>
17</head>
18<body>
19<DIV CLASS="navigation">
20<div id='top-navigation-panel' xml:id='top-navigation-panel'>
21<table align="center" width="100%" cellpadding="0" cellspacing="2">
22<tr>
23<td class='online-navigation'><a rel="prev" title="1.2.1.1 Reference Count Details"
24 href="refcountDetails.html"><img src='../icons/previous.png'
25 border='0' height='32' alt='Previous Page' width='32' /></A></td>
26<td class='online-navigation'><a rel="parent" title="1.2 Objects, Types and"
27 href="objects.html"><img src='../icons/up.png'
28 border='0' height='32' alt='Up One Level' width='32' /></A></td>
29<td class='online-navigation'><a rel="next" title="1.3 Exceptions"
30 href="exceptions.html"><img src='../icons/next.png'
31 border='0' height='32' alt='Next Page' width='32' /></A></td>
32<td align="center" width="100%">Python/C API Reference Manual</td>
33<td class='online-navigation'><a rel="contents" title="Table of Contents"
34 href="contents.html"><img src='../icons/contents.png'
35 border='0' height='32' alt='Contents' width='32' /></A></td>
36<td class='online-navigation'><img src='../icons/blank.png'
37 border='0' height='32' alt='' width='32' /></td>
38<td class='online-navigation'><a rel="index" title="Index"
39 href="genindex.html"><img src='../icons/index.png'
40 border='0' height='32' alt='Index' width='32' /></A></td>
41</tr></table>
42<div class='online-navigation'>
43<b class="navlabel">Previous:</b>
44<a class="sectref" rel="prev" href="refcountDetails.html">1.2.1.1 Reference Count Details</A>
45<b class="navlabel">Up:</b>
46<a class="sectref" rel="parent" href="objects.html">1.2 Objects, Types and</A>
47<b class="navlabel">Next:</b>
48<a class="sectref" rel="next" href="exceptions.html">1.3 Exceptions</A>
49</div>
50<hr /></div>
51</DIV>
52<!--End of Navigation Panel-->
53
54<H2><A NAME="SECTION003220000000000000000"></A><A NAME="types"></A>
55<BR>
561.2.2 Types
57</H2>
58
59<P>
60There are few other data types that play a significant role in
61the Python/C API; most are simple C types such as <tt class="ctype">int</tt>,
62<tt class="ctype">long</tt>, <tt class="ctype">double</tt> and <tt class="ctype">char*</tt>. A few structure types
63are used to describe static tables used to list the functions exported
64by a module or the data attributes of a new object type, and another
65is used to describe the value of a complex number. These will
66be discussed together with the functions that use them.
67
68<P>
69
70<DIV CLASS="navigation">
71<div class='online-navigation'>
72<p></p><hr />
73<table align="center" width="100%" cellpadding="0" cellspacing="2">
74<tr>
75<td class='online-navigation'><a rel="prev" title="1.2.1.1 Reference Count Details"
76 href="refcountDetails.html"><img src='../icons/previous.png'
77 border='0' height='32' alt='Previous Page' width='32' /></A></td>
78<td class='online-navigation'><a rel="parent" title="1.2 Objects, Types and"
79 href="objects.html"><img src='../icons/up.png'
80 border='0' height='32' alt='Up One Level' width='32' /></A></td>
81<td class='online-navigation'><a rel="next" title="1.3 Exceptions"
82 href="exceptions.html"><img src='../icons/next.png'
83 border='0' height='32' alt='Next Page' width='32' /></A></td>
84<td align="center" width="100%">Python/C API Reference Manual</td>
85<td class='online-navigation'><a rel="contents" title="Table of Contents"
86 href="contents.html"><img src='../icons/contents.png'
87 border='0' height='32' alt='Contents' width='32' /></A></td>
88<td class='online-navigation'><img src='../icons/blank.png'
89 border='0' height='32' alt='' width='32' /></td>
90<td class='online-navigation'><a rel="index" title="Index"
91 href="genindex.html"><img src='../icons/index.png'
92 border='0' height='32' alt='Index' width='32' /></A></td>
93</tr></table>
94<div class='online-navigation'>
95<b class="navlabel">Previous:</b>
96<a class="sectref" rel="prev" href="refcountDetails.html">1.2.1.1 Reference Count Details</A>
97<b class="navlabel">Up:</b>
98<a class="sectref" rel="parent" href="objects.html">1.2 Objects, Types and</A>
99<b class="navlabel">Next:</b>
100<a class="sectref" rel="next" href="exceptions.html">1.3 Exceptions</A>
101</div>
102</div>
103<hr />
104<span class="release-info">Release 2.4.2, documentation updated on 28 September 2005.</span>
105</DIV>
106<!--End of Navigation Panel-->
107<ADDRESS>
108See <i><a href="about.html">About this document...</a></i> for information on suggesting changes.
109</ADDRESS>
110</BODY>
111</HTML>