Skip to content

Commit 5b66d81

Browse files
committed
Add OAGGraphCurrentAttributeWasModified
1 parent 8a896e5 commit 5b66d81

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

Sources/OpenAttributeGraphCxx/Attribute/OAGAttribute.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,16 @@
99

1010
const OAGAttribute OAGAttributeNil = OAGAttribute(OAG::AttributeID::Kind::Null);
1111

12-
OAGAttribute OAGGraphGetCurrentAttribute() {
12+
OAGAttribute OAGGraphGetCurrentAttribute(void) {
1313
// TODO
1414
return OAGAttributeNil;
1515
}
1616

17+
bool OAGGraphCurrentAttributeWasModified(void) {
18+
// TODO
19+
return false;
20+
}
21+
1722
namespace {
1823
OAGAttribute create_offset_attribute(OAGAttribute attribute, uint64_t offset, std::optional<uint64_t> size) {
1924
// TODO

Sources/OpenAttributeGraphCxx/include/OpenAttributeGraph/OAGAttribute.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ OAG_EXPORT
2929
OAG_REFINED_FOR_SWIFT
3030
OAGAttribute OAGGraphGetCurrentAttribute(void);
3131

32+
OAG_EXPORT
33+
OAG_REFINED_FOR_SWIFT
34+
bool OAGGraphCurrentAttributeWasModified(void);
35+
3236
OAG_EXPORT
3337
OAG_REFINED_FOR_SWIFT
3438
OAGAttribute OAGGraphCreateOffsetAttribute(OAGAttribute attribute, long offset) OAG_SWIFT_NAME(OAGAttribute.create(self:offset:));

0 commit comments

Comments
 (0)