Tue, 28 Oct 2025 22:04:05 +0100
update to newest UCX 3.2 snapshot
| configure | file | annotate | diff | comparison | revisions | |
| make/project.xml | file | annotate | diff | comparison | revisions | |
| src/scene.c | file | annotate | diff | comparison | revisions |
--- a/configure Tue Oct 28 22:03:06 2025 +0100 +++ b/configure Tue Oct 28 22:04:05 2025 +0100 @@ -459,12 +459,15 @@ # dependency ucx while true do - if check_lib ucx cx/common.h > /dev/null ; then - : + if [ -z "$PKG_CONFIG" ]; then + break + fi + if test_pkg_config "ucx" "" "" "" ; then + TEMP_CFLAGS="$TEMP_CFLAGS `"$PKG_CONFIG" --cflags ucx`" + TEMP_LDFLAGS="$TEMP_LDFLAGS `"$PKG_CONFIG" --libs ucx`" else break fi - TEMP_LDFLAGS="$TEMP_LDFLAGS -lucx" print_check_msg "$dep_checked_ucx" "yes\n" dep_checked_ucx=1 return 1
--- a/make/project.xml Tue Oct 28 22:03:06 2025 +0100 +++ b/make/project.xml Tue Oct 28 22:04:05 2025 +0100 @@ -11,8 +11,7 @@ </dependency> <dependency name="ucx"> - <test>check_lib ucx cx/common.h</test> - <ldflags>-lucx</ldflags> + <pkgconfig>ucx</pkgconfig> </dependency> <dependency name="sdl3">
--- a/src/scene.c Tue Oct 28 22:03:06 2025 +0100 +++ b/src/scene.c Tue Oct 28 22:04:05 2025 +0100 @@ -73,7 +73,7 @@ offsetof(AscSceneNode, next) ); cx_foreach(AscSceneNode*, node, iter) { - CxMapIterator behavior_iter = cxMapMutIteratorValues(node->behaviors); + CxMapIterator behavior_iter = cxMapIteratorValues(node->behaviors); cx_foreach(AscBehavior*, behavior, behavior_iter) { asc_behavior_trigger(behavior); if (behavior->killed) {