Add modified callback to resource providers (for caching purposes).

PiperOrigin-RevId: 561327623
Change-Id: Id6683f6d6d32ee91019aba46599c28cbffe29df6
This commit is contained in:
Kyle Bayes
2023-08-30 06:52:36 -07:00
committed by Copybara-Service
parent 273c23038c
commit 16ee0dfde5
6 changed files with 68 additions and 3 deletions
+1
View File
@@ -269,6 +269,7 @@ bool ResourceProvidersAreIdentical(const mjpResourceProvider* p1, const mjpResou
p1->read == p2->read &&
p1->close == p2->close &&
p1->getdir == p2->getdir &&
p1->modified == p2->modified &&
p1->data == p2->data);
}