Skip to content

Commit d4c0852

Browse files
committedFeb 8, 2025
update eez-framework
1 parent 37c3779 commit d4c0852

File tree

6 files changed

+10
-3
lines changed

6 files changed

+10
-3
lines changed
 
Binary file not shown.
Binary file not shown.
Binary file not shown.

‎resources/eez-framework-amalgamation/eez-flow.cpp

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Autogenerated on February 8, 2025 4:34:19 PM from eez-framework commit 63667541e52cce9085e19322a389a7ade2d0401e */
1+
/* Autogenerated on February 8, 2025 4:45:10 PM from eez-framework commit 7507056f49c45d6810265e8971792df50e8042de */
22
/*
33
* eez-framework
44
*
@@ -10972,6 +10972,7 @@ struct WatchListNode {
1097210972
struct WatchList {
1097310973
WatchListNode *first;
1097410974
WatchListNode *last;
10975+
unsigned size;
1097510976
};
1097610977
static WatchList g_watchList;
1097710978
WatchListNode *watchListAdd(FlowState *flowState, unsigned componentIndex) {
@@ -10988,6 +10989,7 @@ WatchListNode *watchListAdd(FlowState *flowState, unsigned componentIndex) {
1098810989
node->flowState = flowState;
1098910990
node->componentIndex = componentIndex;
1099010991
incRefCounterForFlowState(flowState);
10992+
(g_watchList.size)++;
1099110993
return node;
1099210994
}
1099310995
void watchListRemove(WatchListNode *node) {
@@ -11002,6 +11004,7 @@ void watchListRemove(WatchListNode *node) {
1100211004
g_watchList.last = node->prev;
1100311005
}
1100411006
free(node);
11007+
g_watchList.size > 0 ? (g_watchList.size)-- : 0;
1100511008
}
1100611009
void visitWatchList() {
1100711010
for (auto node = g_watchList.first; node; ) {
@@ -11035,5 +11038,8 @@ void removeWatchesForFlowState(FlowState *flowState) {
1103511038
node = nextNode;
1103611039
}
1103711040
}
11041+
unsigned getWatchListSize() {
11042+
return g_watchList.size;
11043+
}
1103811044
}
1103911045
}

‎resources/eez-framework-amalgamation/eez-flow.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Autogenerated on February 8, 2025 4:34:19 PM from eez-framework commit 63667541e52cce9085e19322a389a7ade2d0401e */
1+
/* Autogenerated on February 8, 2025 4:45:10 PM from eez-framework commit 7507056f49c45d6810265e8971792df50e8042de */
22
/*
33
* eez-framework
44
*
@@ -2741,6 +2741,7 @@ void watchListRemove(WatchListNode *node);
27412741
void visitWatchList();
27422742
void watchListReset();
27432743
void removeWatchesForFlowState(FlowState *flowState);
2744+
unsigned getWatchListSize();
27442745
}
27452746
}
27462747
// -----------------------------------------------------------------------------

0 commit comments

Comments
 (0)