@react-native-windows/codegen
Advanced tools
Comparing version
# Change Log - @react-native-windows/codegen | ||
<!-- This log was last generated on Fri, 31 Jan 2025 06:23:58 GMT and should not be manually modified. --> | ||
<!-- This log was last generated on Fri, 07 Mar 2025 06:25:58 GMT and should not be manually modified. --> | ||
<!-- Start content --> | ||
## 0.0.0-canary.119 | ||
Fri, 07 Mar 2025 06:25:58 GMT | ||
### Changes | ||
- Fix build issue building component codegen using clang (30809111+acoates-ms@users.noreply.github.com) | ||
## 0.0.0-canary.118 | ||
Fri, 31 Jan 2025 06:23:58 GMT | ||
Fri, 31 Jan 2025 18:29:44 GMT | ||
@@ -11,0 +19,0 @@ ### Changes |
@@ -167,3 +167,3 @@ /** | ||
if constexpr (&TUserData::FinalizeUpdate != &Base::_COMPONENT_NAME_::<TUserData>::FinalizeUpdate) { | ||
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::FinalizeUpdate != &Base::_COMPONENT_NAME_::<TUserData>::FinalizeUpdate) { | ||
builder.SetFinalizeUpdateHandler([](const winrt::Microsoft::ReactNative::ComponentView &view, | ||
@@ -176,3 +176,3 @@ winrt::Microsoft::ReactNative::ComponentViewUpdateMask mask) noexcept { | ||
if constexpr (&TUserData::UpdateState != &Base::_COMPONENT_NAME_::<TUserData>::UpdateState) { | ||
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::UpdateState != &Base::_COMPONENT_NAME_::<TUserData>::UpdateState) { | ||
builder.SetUpdateStateHandler([](const winrt::Microsoft::ReactNative::ComponentView &view, | ||
@@ -187,3 +187,3 @@ const winrt::Microsoft::ReactNative::IComponentState &newState) noexcept { | ||
if constexpr (&TUserData::MountChildComponentView != &Base::_COMPONENT_NAME_::<TUserData>::MountChildComponentView) { | ||
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::MountChildComponentView != &Base::_COMPONENT_NAME_::<TUserData>::MountChildComponentView) { | ||
builder.SetMountChildComponentViewHandler([](const winrt::Microsoft::ReactNative::ComponentView &view, | ||
@@ -196,3 +196,3 @@ const winrt::Microsoft::ReactNative::MountChildComponentViewArgs &args) noexcept { | ||
if constexpr (&TUserData::UnmountChildComponentView != &Base::_COMPONENT_NAME_::<TUserData>::UnmountChildComponentView) { | ||
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::UnmountChildComponentView != &Base::_COMPONENT_NAME_::<TUserData>::UnmountChildComponentView) { | ||
builder.SetUnmountChildComponentViewHandler([](const winrt::Microsoft::ReactNative::ComponentView &view, | ||
@@ -207,3 +207,3 @@ const winrt::Microsoft::ReactNative::UnmountChildComponentViewArgs &args) noexcept { | ||
auto userData = winrt::make_self<TUserData>(); | ||
if constexpr (&TUserData::Initialize != &Base::_COMPONENT_NAME_::<TUserData>::Initialize) { | ||
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::Initialize != &Base::_COMPONENT_NAME_::<TUserData>::Initialize) { | ||
userData->Initialize(view); | ||
@@ -214,3 +214,3 @@ } | ||
if constexpr (&TUserData::CreateVisual != &Base::_COMPONENT_NAME_::<TUserData>::CreateVisual) { | ||
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::CreateVisual != &Base::_COMPONENT_NAME_::<TUserData>::CreateVisual) { | ||
compBuilder.SetCreateVisualHandler([](const winrt::Microsoft::ReactNative::ComponentView &view) noexcept { | ||
@@ -217,0 +217,0 @@ auto userData = view.UserData().as<TUserData>(); |
{ | ||
"name": "@react-native-windows/codegen", | ||
"version": "0.0.0-canary.118", | ||
"version": "0.0.0-canary.119", | ||
"description": "Generators for react-native-codegen targeting react-native-windows", | ||
@@ -5,0 +5,0 @@ "main": "lib-commonjs/index.js", |
@@ -191,3 +191,3 @@ /** | ||
if constexpr (&TUserData::FinalizeUpdate != &Base::_COMPONENT_NAME_::<TUserData>::FinalizeUpdate) { | ||
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::FinalizeUpdate != &Base::_COMPONENT_NAME_::<TUserData>::FinalizeUpdate) { | ||
builder.SetFinalizeUpdateHandler([](const winrt::Microsoft::ReactNative::ComponentView &view, | ||
@@ -200,3 +200,3 @@ winrt::Microsoft::ReactNative::ComponentViewUpdateMask mask) noexcept { | ||
if constexpr (&TUserData::UpdateState != &Base::_COMPONENT_NAME_::<TUserData>::UpdateState) { | ||
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::UpdateState != &Base::_COMPONENT_NAME_::<TUserData>::UpdateState) { | ||
builder.SetUpdateStateHandler([](const winrt::Microsoft::ReactNative::ComponentView &view, | ||
@@ -211,3 +211,3 @@ const winrt::Microsoft::ReactNative::IComponentState &newState) noexcept { | ||
if constexpr (&TUserData::MountChildComponentView != &Base::_COMPONENT_NAME_::<TUserData>::MountChildComponentView) { | ||
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::MountChildComponentView != &Base::_COMPONENT_NAME_::<TUserData>::MountChildComponentView) { | ||
builder.SetMountChildComponentViewHandler([](const winrt::Microsoft::ReactNative::ComponentView &view, | ||
@@ -220,3 +220,3 @@ const winrt::Microsoft::ReactNative::MountChildComponentViewArgs &args) noexcept { | ||
if constexpr (&TUserData::UnmountChildComponentView != &Base::_COMPONENT_NAME_::<TUserData>::UnmountChildComponentView) { | ||
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::UnmountChildComponentView != &Base::_COMPONENT_NAME_::<TUserData>::UnmountChildComponentView) { | ||
builder.SetUnmountChildComponentViewHandler([](const winrt::Microsoft::ReactNative::ComponentView &view, | ||
@@ -231,3 +231,3 @@ const winrt::Microsoft::ReactNative::UnmountChildComponentViewArgs &args) noexcept { | ||
auto userData = winrt::make_self<TUserData>(); | ||
if constexpr (&TUserData::Initialize != &Base::_COMPONENT_NAME_::<TUserData>::Initialize) { | ||
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::Initialize != &Base::_COMPONENT_NAME_::<TUserData>::Initialize) { | ||
userData->Initialize(view); | ||
@@ -238,3 +238,3 @@ } | ||
if constexpr (&TUserData::CreateVisual != &Base::_COMPONENT_NAME_::<TUserData>::CreateVisual) { | ||
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::CreateVisual != &Base::_COMPONENT_NAME_::<TUserData>::CreateVisual) { | ||
compBuilder.SetCreateVisualHandler([](const winrt::Microsoft::ReactNative::ComponentView &view) noexcept { | ||
@@ -241,0 +241,0 @@ auto userData = view.UserData().as<TUserData>(); |
Sorry, the diff of this file is not supported yet
368746
0.2%