slint/internal
Milian Wolff df1dd3b6cf Use one central thread_local for builtin function types
Instead of occupying multiple TLS slots, introduce a single type
that stores all the builtin function types in members. Use a macro
to define this struct then, which allows us to use a nice DSL to
define these function types, reducing the boiler plate significantly.

The downside is that we no longer have the ability to easily share
semantically equivalent function types (e.g. for `Round`, `Ceil`
and `Floor` etc.). Doing so would require us to introdue a separate
name for these types, and then use external matching to map the
BuiltinFunctions to the reduced list of types. The performance impact
is minimal though, so this is not done to KISS.
2024-10-28 09:39:54 +01:00
..
backends Add the accessible-enabled property 2024-10-25 10:20:09 +02:00
common PopupWindow: added close-policy property (#6614) 2024-10-24 09:27:39 +00:00
compiler Use one central thread_local for builtin function types 2024-10-28 09:39:54 +01:00
core Added rejected to TextInput (#6649) 2024-10-25 17:24:47 +02:00
core-macros Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
interpreter Also use Rc for langtype::Type::Array 2024-10-28 09:39:54 +01:00
renderers Bump FemtoVG to 0.10.1 release that fixes scissor clip problem 2024-10-24 10:30:12 +02:00