Files
loongoffice/include/sfx2
Noel Grandin d4c0e39d93 make the slot data constinit
because it takes a surprising amount of time to initialise it
at runtime during startup

(*) have to convert the std::function in SfxType to a
function pointer, because the std::function constructor
is not constinit compatible.

(*) the SfxType0..SfxTypeN types need some reinterpret_cast
to work around the lack of zero-sized trailing arrays in c++

(*) Sadly MSVC does not support taking the address of symbols
in constinit structures, so we cannot make the SfxSlot
array constinit.

Change-Id: I300ee770cc115d30bc25c819f2ad34b29633876c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166963
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-05-02 14:37:56 +02:00
..
2024-04-29 12:54:43 +02:00
2024-04-28 22:30:17 +02:00
2024-02-19 09:09:06 +01:00
2024-02-02 08:49:14 +01:00
2024-03-08 07:06:13 +01:00
2024-02-01 12:12:10 +01:00
2023-12-19 09:42:03 +01:00
2023-10-06 09:53:07 +02:00
2024-05-02 14:37:56 +02:00
2024-04-22 13:26:28 +02:00
2023-12-21 21:13:55 +01:00
2023-12-21 21:13:55 +01:00
2024-04-28 22:30:17 +02:00
2024-04-28 22:30:17 +02:00
2023-05-26 13:49:54 +02:00