summaryrefslogtreecommitdiff
path: root/src/ctor.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2026-02-07 22:27:05 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2026-02-07 22:34:49 +0100
commitc849d9bff18152e83d6e62aa11de2f14fe974488 (patch)
tree9dd88a8115f2b097b666848b2b4c8647dbc55bc8 /src/ctor.h
parent668158a83bc9e5af7bf65fe88d22d1958e33443f (diff)
Use REG function for configuration, like with build_configurations, to get rid of the hacky weak symbol method.no_more_weak
Diffstat (limited to 'src/ctor.h')
-rw-r--r--src/ctor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ctor.h b/src/ctor.h
index 890c257..8a7c809 100644
--- a/src/ctor.h
+++ b/src/ctor.h
@@ -579,4 +579,7 @@ struct configuration
const ctor::configuration& get_configuration();
+int reg(std::function<const ctor::configuration&()> cb,
+ const std::source_location location = std::source_location::current());
+
} // ctor::