summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2014-02-02 16:17:03 -0800
committerAndreas Rumpf <rumpf_a@web.de>2014-02-02 16:17:03 -0800
commite75814da6776ccc9ec0637ec3fe8b1047ec422d0 (patch)
treef5d4fa950af02bc7f196876676fd99fcfc6d08b7
parentea42682dbccba52d4e5905ce473128422c0ffe98 (diff)
parent92e3f667bd804b3f03eb09c1077552cdf5107e24 (diff)
downloadNim-e75814da6776ccc9ec0637ec3fe8b1047ec422d0.tar.gz
Merge pull request #862 from gradha/pr_mentions_exportc_limits
Mentions {.exportc.} limits. Refs #826.
-rw-r--r--doc/manual.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/manual.txt b/doc/manual.txt
index 2ccd4c1e9..b85c49e03 100644
--- a/doc/manual.txt
+++ b/doc/manual.txt
@@ -5172,9 +5172,9 @@ the same feature under the same name.
 Exportc pragma
 --------------
 The `exportc`:idx: pragma provides a means to export a type, a variable, or a
-procedure to C. The optional argument is a string containing the C identifier.
-If the argument is missing, the C name is the Nimrod
-identifier *exactly as spelled*:
+procedure to C. Enums and constants can't be exported. The optional argument
+is a string containing the C identifier.  If the argument is missing, the C
+name is the Nimrod identifier *exactly as spelled*:
 
 .. code-block:: Nimrod
   proc callme(formatstr: cstring) {.exportc: "callMe", varargs.}