summaryrefslogtreecommitdiffstats
path: root/thirdparty/thorvg/src/common/tvgArray.h
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/thorvg/src/common/tvgArray.h')
-rw-r--r--thirdparty/thorvg/src/common/tvgArray.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/thirdparty/thorvg/src/common/tvgArray.h b/thirdparty/thorvg/src/common/tvgArray.h
index acb3a41b97..d95df40460 100644
--- a/thirdparty/thorvg/src/common/tvgArray.h
+++ b/thirdparty/thorvg/src/common/tvgArray.h
@@ -90,6 +90,16 @@ struct Array
return data[idx];
}
+ const T* begin() const
+ {
+ return data;
+ }
+
+ T* begin()
+ {
+ return data;
+ }
+
T* end()
{
return data + count;