Mercurial > hg > index.cgi
comparison docs/manual.docbook.sgml @ 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 | 0bc1c88fe776 |
children | 155799f6cfa5 |
comparison
equal
deleted
inserted
replaced
252:201b2774cb0e | 253:ed1009bce533 |
---|---|
1583 <para> | 1583 <para> |
1584 This pragma will often be specified on the command line for large projects. | 1584 This pragma will often be specified on the command line for large projects. |
1585 However, depending on the specific dynamics of the project, it may be sufficient | 1585 However, depending on the specific dynamics of the project, it may be sufficient |
1586 for one or two files to use this pragma internally. | 1586 for one or two files to use this pragma internally. |
1587 </para> | 1587 </para> |
1588 </listitem> | |
1589 </varlistentry> | |
1590 | |
1591 <varlistentry> | |
1592 <term>export</term> | |
1593 <listitem> | |
1594 | |
1595 <para>This pragma causes all symbols to be added to the export list | |
1596 automatically. This is useful when a large number of symbols need to be | |
1597 exported but you do not wish to include an EXPORT directive for all of them. | |
1598 This is often useful on the command line but might be useful even inline | |
1599 with the PRAGMA directive if a large number of symbols in a row are to be | |
1600 exported.</para> | |
1601 | |
1588 </listitem> | 1602 </listitem> |
1589 </varlistentry> | 1603 </varlistentry> |
1590 | 1604 |
1591 <varlistentry> | 1605 <varlistentry> |
1592 <term>dollarlocal</term> | 1606 <term>dollarlocal</term> |