summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorGrzegorz Adam Hankiewicz <gradha@imap.cc>2014-02-02 17:59:17 +0100
committerGrzegorz Adam Hankiewicz <gradha@imap.cc>2014-02-02 17:59:17 +0100
commit92e3f667bd804b3f03eb09c1077552cdf5107e24 (patch)
treef5d4fa950af02bc7f196876676fd99fcfc6d08b7
parentea42682dbccba52d4e5905ce473128422c0ffe98 (diff)
downloadNim-92e3f667bd804b3f03eb09c1077552cdf5107e24.tar.gz
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.}