summaryrefslogtreecommitdiff
path: root/src/gnumake.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnumake.h')
-rw-r--r--src/gnumake.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/gnumake.h b/src/gnumake.h
index 3ebe6621..b448a3c1 100644
--- a/src/gnumake.h
+++ b/src/gnumake.h
@@ -35,7 +35,16 @@ typedef char *(*gmk_func_ptr)(const char *nm, unsigned int argc, char **argv);
int <setup_fn> (unsigned int abi_version, const gmk_floc *flocp);
- The abi_version will be set to GMK_ABI_VERSION. */
+ The abi_version will be set to GMK_ABI_VERSION.
+
+ When an object is unloaded by GNU Make, an unload method will be invoked.
+ The name of the method is derived from the filename of the object, with
+ _gmk_unload appended. It has the signature:
+
+ void <object>_gmk_unload (void);
+
+ There will only be one unload method invoked regardless of the number of
+ setup methods within the object. */
#ifdef _WIN32
# ifdef GMK_BUILDING_MAKE