about summary refs log tree commit diff stats
path: root/subx/000organization.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-07-20 15:33:48 -0700
committerKartik Agaram <vc@akkartik.com>2018-07-20 15:34:51 -0700
commit42d2d595b5ade7506f89f037365475864b3c906f (patch)
tree771c209839e93b6efee129c9de72a1f455f7181c /subx/000organization.cc
parentaec53ecd939c763935d3fff1386425a4a79ea02d (diff)
downloadmu-42d2d595b5ade7506f89f037365475864b3c906f.tar.gz
4373 - subx: beginnings of online help
Diffstat (limited to 'subx/000organization.cc')
-rw-r--r--subx/000organization.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/subx/000organization.cc b/subx/000organization.cc
index 71acb491..a82fd67d 100644
--- a/subx/000organization.cc
+++ b/subx/000organization.cc
@@ -135,6 +135,13 @@ int main(int argc, char* argv[]) {
 
 //: Without directives or with the :(code) directive, lines get added at the
 //: end.
+//:
+//: Regardless of where functions are defined, we can call them anywhere we
+//: like as long as we format the function header in a specific way: put it
+//: all on a single line without indent, end the line with ') {' and no
+//: trailing whitespace. As long as functions uniformly start this way, our
+//: 'build' script contains a little command to automatically generate
+//: declarations for them.
 :(code)
 void reset() {
   // End Reset