From 92e3f667bd804b3f03eb09c1077552cdf5107e24 Mon Sep 17 00:00:00 2001 From: Grzegorz Adam Hankiewicz Date: Sun, 2 Feb 2014 17:59:17 +0100 Subject: [PATCH] Mentions {.exportc.} limits. Refs #826. --- doc/manual.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/manual.txt b/doc/manual.txt index 2ccd4c1e9b..b85c49e037 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.}