slint/internal/compiler
Simon Hausmann 59d869cb84 Fix missing invocation of init() on Items with C++
In Rust, register_component in the run-time library is called unconditionally and
invokes init(). The window adapter is an optional
parameter.

In C++, we'd call register_component only if we had a window adapter, which meant
that we're missing init calls().

Amends cd9994306e
2023-07-14 13:09:45 +02:00
..
generator Fix missing invocation of init() on Items with C++ 2023-07-14 13:09:45 +02:00
LICENSES Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
llr Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
parser Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
parser-test-macro Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
passes Fix setting rotation-angle and opacity from a callback 2023-07-11 20:07:49 +02:00
tests Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
widgets Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
build.rs Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
builtin_macros.rs Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
builtins.slint Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
Cargo.toml Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
diagnostics.rs Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
embedded_resources.rs Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
expression_tree.rs Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
fileaccess.rs Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
generator.rs Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
langtype.rs Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
layout.rs Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
lexer.rs Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
lib.rs Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
literals.rs Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
llr.rs Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
load_builtins.rs Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
lookup.rs Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
namedreference.rs Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
object_tree.rs Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
parser.rs Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
passes.rs Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
README.md Domain: slint-ui.com -> slint.dev 2023-06-16 10:55:08 +02:00
typeloader.rs Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
typeregister.rs Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00

The Slint Compiler Library

NOTE: This library is an internal crate of the Slint project. This crate should not be used directly by applications using Slint. You should use the slint crate instead.

WARNING: This crate does not follow the semver convention for versioning and can only be used with version = "=x.y.z" in Cargo.toml.