comparison docs/manual/x591.html @ 253:ed1009bce533

Document the "export" pragma Add documentation for the "export" pragma. This was added in 4.7 but the documentation for it was overlooked.
author William Astle <lost@l-w.ca>
date Sat, 26 Jan 2013 22:27:29 -0700
parents 2cc599f1bebf
children
comparison
equal deleted inserted replaced
252:201b2774cb0e 253:ed1009bce533
15 REL="PREVIOUS" 15 REL="PREVIOUS"
16 TITLE="Object Files and Sections" 16 TITLE="Object Files and Sections"
17 HREF="x527.html"><LINK 17 HREF="x527.html"><LINK
18 REL="NEXT" 18 REL="NEXT"
19 TITLE="LWLINK" 19 TITLE="LWLINK"
20 HREF="c681.html"></HEAD 20 HREF="c685.html"></HEAD
21 ><BODY 21 ><BODY
22 CLASS="SECTION" 22 CLASS="SECTION"
23 BGCOLOR="#FFFFFF" 23 BGCOLOR="#FFFFFF"
24 TEXT="#000000" 24 TEXT="#000000"
25 LINK="#0000FF" 25 LINK="#0000FF"
57 ><TD 57 ><TD
58 WIDTH="10%" 58 WIDTH="10%"
59 ALIGN="right" 59 ALIGN="right"
60 VALIGN="bottom" 60 VALIGN="bottom"
61 ><A 61 ><A
62 HREF="c681.html" 62 HREF="c685.html"
63 ACCESSKEY="N" 63 ACCESSKEY="N"
64 >Next</A 64 >Next</A
65 ></TD 65 ></TD
66 ></TR 66 ></TR
67 ></TABLE 67 ></TABLE
209 automatic external definition if there is already a locally defined symbol.)</P 209 automatic external definition if there is already a locally defined symbol.)</P
210 ><P 210 ><P
211 >This pragma will often be specified on the command line for large projects. 211 >This pragma will often be specified on the command line for large projects.
212 However, depending on the specific dynamics of the project, it may be sufficient 212 However, depending on the specific dynamics of the project, it may be sufficient
213 for one or two files to use this pragma internally.</P 213 for one or two files to use this pragma internally.</P
214 ></DD
215 ><DT
216 >export</DT
217 ><DD
218 ><P
219 >This pragma causes all symbols to be added to the export list
220 automatically. This is useful when a large number of symbols need to be
221 exported but you do not wish to include an EXPORT directive for all of them.
222 This is often useful on the command line but might be useful even inline
223 with the PRAGMA directive if a large number of symbols in a row are to be
224 exported.</P
214 ></DD 225 ></DD
215 ><DT 226 ><DT
216 >dollarlocal</DT 227 >dollarlocal</DT
217 ><DD 228 ><DD
218 ><P 229 ><P
364 ><TD 375 ><TD
365 WIDTH="33%" 376 WIDTH="33%"
366 ALIGN="right" 377 ALIGN="right"
367 VALIGN="top" 378 VALIGN="top"
368 ><A 379 ><A
369 HREF="c681.html" 380 HREF="c685.html"
370 ACCESSKEY="N" 381 ACCESSKEY="N"
371 >Next</A 382 >Next</A
372 ></TD 383 ></TD
373 ></TR 384 ></TR
374 ><TR 385 ><TR