summaryrefslogtreecommitdiff
path: root/gir/gmodule-2.0.c
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2017-04-10 08:58:21 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2017-04-10 08:58:21 +0200
commit8964b1bab05ecfbd47f2185476ef48c86a6b76c9 (patch)
treea7ce0fa45cb4323591486b598a76827f2f47c6fc /gir/gmodule-2.0.c
parent32d130f1a5829acc5827d43735e15e9198c2971d (diff)
downloadgobject-introspection-8964b1bab05ecfbd47f2185476ef48c86a6b76c9.tar.gz
gir: Update annotations from GLib 2.52.1
Diffstat (limited to 'gir/gmodule-2.0.c')
-rw-r--r--gir/gmodule-2.0.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/gir/gmodule-2.0.c b/gir/gmodule-2.0.c
index 145d4772..a57ce315 100644
--- a/gir/gmodule-2.0.c
+++ b/gir/gmodule-2.0.c
@@ -55,9 +55,15 @@
/**
* G_MODULE_EXPORT:
*
- * Used to declare functions exported by modules. This is a no-op on Linux
- * and Unices, but when compiling for Windows, it marks a symbol to be
- * exported from the library or executable being built.
+ * Used to declare functions exported by libraries or modules.
+ *
+ * When compiling for Windows, it marks the symbol as `dllexport`.
+ *
+ * When compiling for Linux and Unices, it marks the symbol as having `default`
+ * visibility. This is no-op unless the code is being compiled with a
+ * non-default
+ * [visibility flag](https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html#index-fvisibility-1260)
+ * such as `hidden`.
*/