Fossil

Check-in [22a9fba4]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Minor correction to example comment in Fossil coding introduction.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 22a9fba42862d3b9ce6fc5e29878e6bb7bf5e346
User & Date: andybradford 2016-11-07 05:43:44
Context
2016-11-07
08:24
Add option to test-find-pivot to assist in discovering "name pivots" when diagnosing merge failures. check-in: 3dc006c9 user: andybradford tags: trunk
05:43
Minor correction to example comment in Fossil coding introduction. check-in: 22a9fba4 user: andybradford tags: trunk
04:45
Correct recent makeheaders.html documentation update to respect the prohibition of multiple global variables per declaration check-in: ba5ab70e user: andygoth tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to www/adding_code.wiki.

67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
*/
#include "config.h"
#include "xyzzy.h"

#if INTERFACE
/* Exported object (structure) definitions or #defines
** go here */
#endif /* INTEFACE */

/* New code goes here */
</verbatim></blockquote>

Note in particular the <b>#include "xyzzy.h"</b> line near the top.
The "xyzzy.h" file is automatically generated by makeheaders.  Every
normal Fossil source file must have a #include at the top that imports







|







67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
*/
#include "config.h"
#include "xyzzy.h"

#if INTERFACE
/* Exported object (structure) definitions or #defines
** go here */
#endif /* INTERFACE */

/* New code goes here */
</verbatim></blockquote>

Note in particular the <b>#include "xyzzy.h"</b> line near the top.
The "xyzzy.h" file is automatically generated by makeheaders.  Every
normal Fossil source file must have a #include at the top that imports