summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/dimension.h')
-rw-r--r--libdimension/dimension.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libdimension/dimension.h b/libdimension/dimension.h
index fb8efb5..e190de3 100644
--- a/libdimension/dimension.h
+++ b/libdimension/dimension.h
@@ -47,6 +47,12 @@ extern "C" {
/* Common types */
/**
+ * Generic callback type.
+ * @param[in,out] ptr A pointer to an object to act on.
+ */
+typedef void dmnsn_callback_fn(void *ptr);
+
+/**
* Destructor callback type.
* @param[in,out] ptr The pointer to free.
*/