summaryrefslogtreecommitdiff
path: root/gir/gmodule-2.0.c
diff options
context:
space:
mode:
Diffstat (limited to 'gir/gmodule-2.0.c')
-rw-r--r--gir/gmodule-2.0.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gir/gmodule-2.0.c b/gir/gmodule-2.0.c
index 4716aad2..e07a8823 100644
--- a/gir/gmodule-2.0.c
+++ b/gir/gmodule-2.0.c
@@ -57,6 +57,11 @@
* non-default
* [visibility flag](https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html#index-fvisibility-1260)
* such as `hidden`.
+ *
+ * This macro must only be used when compiling a shared module. Modules that
+ * support both shared and static linking should define their own macro that
+ * expands to %G_MODULE_EXPORT when compiling the shared module, but is empty
+ * when compiling the static module on Windows.
*/