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-08 17:25:52 +0100
commit627843d2517a5cc8885939d6396fb052cd873aa7 (patch)
treeb667b48327f127dd29ca160588ee5630d2ca4518 /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::