aboutsummaryrefslogtreecommitdiff
path: root/zinclib.d/doc/html/ZincExtern_8hpp-source.html
blob: 312422e4b3de75303c86f879d79303d28c10539e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>IntuiKit: ZincExtern.hpp Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.3 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Compound&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Compound&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<h1>ZincExtern.hpp</h1><a href="ZincExtern_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 
00015 <span class="preprocessor">#include &lt;tcl.h&gt;</span>
00016 
00017 <span class="preprocessor">#ifndef ZINC_EXTERN</span>
00018 <span class="preprocessor"></span><span class="preprocessor">#define ZINC_EXTERN</span>
00019 <span class="preprocessor"></span>
00020 
00021 <span class="comment">// those are function have been created within a C compiler</span>
00022 <span class="keyword">extern</span> <span class="stringliteral">"C"</span>
00023 {
00024 
00025   <span class="comment">//The TkZinc function that initialises tkzinc</span>
00026   <span class="keywordtype">int</span> <a class="code" href="ZincExtern_8hpp.html#a1">Tkzinc_Init</a>(Tcl_Interp *interp);
00027 
00028   <span class="comment">//The TkZinc function that creates a zinc object</span>
00029   <span class="keywordtype">int</span> <a class="code" href="ZincExtern_8hpp.html#a2">ZincObjCmd</a>(ClientData client_data,    <span class="comment">// Main window associated with interpreter.</span>
00030                  Tcl_Interp *interp,        <span class="comment">// Current interpreter. </span>
00031                  <span class="keywordtype">int</span>        argc,           <span class="comment">// Number of arguments.</span>
00032                  Tcl_Obj   *CONST  args[]); <span class="comment">// Argument objects.</span>
00033 
00034   <span class="comment">//The TkZinc function that is called by tcl when calling ".zinc fct ..."</span>
00035   <span class="keyword">typedef</span> int (*WidgetObjCmd)
<a name="l00036"></a><a class="code" href="ZincExtern_8hpp.html#a0">00036</a>                    (ClientData client_data,   <span class="comment">// Information about the widget.</span>
00037                     Tcl_Interp *interp,       <span class="comment">// Current interpreter.</span>
00038                     <span class="keywordtype">int</span>        argc,          <span class="comment">// Number of arguments.</span>
00039                     Tcl_Obj    *CONST args[]) <span class="comment">// Argument objects.</span>
00040           __attribute__((cdecl));
00041 
00042 }
00043 
00044 <span class="preprocessor">#endif</span>
00045 <span class="preprocessor"></span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Apr 18 17:40:44 2005 for IntuiKit by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 > 
</a>1.3.3 </small></address>
</body>
</html>