Skip to content

Commit 2e1fd63

Browse files
committed
Add OGGraph[Begin/End]DeferringSubgraphInvalidation
1 parent 8f22487 commit 2e1fd63

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

Sources/OpenAttributeGraphCxx/Graph/OAGGraph.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,3 +209,12 @@ bool OAGGraphAnyInputsChanged(const OAGAttribute *excluded_inputs, size_t count)
209209
// TODO
210210
return false;
211211
}
212+
213+
bool OAGGraphBeginDeferringSubgraphInvalidation(OAGGraphRef graph) {
214+
// TODO
215+
return false;
216+
}
217+
218+
void OAGGraphEndDeferringSubgraphInvalidation(OAGGraphRef graph, bool was_deferring) {
219+
// TODO
220+
}

Sources/OpenAttributeGraphCxx/include/OpenAttributeGraph/OAGGraph.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,14 @@ OAG_REFINED_FOR_SWIFT
114114
bool OAGGraphAnyInputsChanged(const OAGAttribute *excluded_inputs, size_t count);
115115
#endif
116116

117+
OAG_EXPORT
118+
OAG_REFINED_FOR_SWIFT
119+
bool OAGGraphBeginDeferringSubgraphInvalidation(OAGGraphRef graph) OAG_SWIFT_NAME(OAGGraphRef.beginDeferringSubgraphInvalidation(self:));
120+
121+
OAG_EXPORT
122+
OAG_REFINED_FOR_SWIFT
123+
void OAGGraphEndDeferringSubgraphInvalidation(OAGGraphRef graph, bool was_deferring) OAG_SWIFT_NAME(OAGGraphRef.endDeferringSubgraphInvalidation(self:wasDeferring:));
124+
117125
OAG_EXTERN_C_END
118126

119127
OAG_IMPLICIT_BRIDGING_DISABLED

0 commit comments

Comments
 (0)