diff options
| author | 2023-02-06 12:10:23 -0800 | |
|---|---|---|
| committer | 2023-04-21 12:16:55 +0200 | |
| commit | 12c45a21b4f223ca2a4ccba42ade2366f4dbde5c (patch) | |
| tree | 6884b1da1da49bc5ce5f2ea8ec9767d315905d0e /src/Array.cpp | |
| parent | 581db7f8215387cd722b9f06a5afbd4df9617072 (diff) | |
| download | libplist-12c45a21b4f223ca2a4ccba42ade2366f4dbde5c.tar.gz libplist-12c45a21b4f223ca2a4ccba42ade2366f4dbde5c.tar.bz2 | |
C++: Add dictionary and array size method
Thanks @Cryptiiiic for the contribution.
Diffstat (limited to 'src/Array.cpp')
| -rw-r--r-- | src/Array.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Array.cpp b/src/Array.cpp index 2722d14..7826494 100644 --- a/src/Array.cpp +++ b/src/Array.cpp | |||
| @@ -128,6 +128,10 @@ Array::const_iterator Array::end() const | |||
| 128 | return _array.end(); | 128 | return _array.end(); |
| 129 | } | 129 | } |
| 130 | 130 | ||
| 131 | const size_t Array::size() const { | ||
| 132 | return _array.size(); | ||
| 133 | } | ||
| 134 | |||
| 131 | void Array::Append(Node* node) | 135 | void Array::Append(Node* node) |
| 132 | { | 136 | { |
| 133 | if (node) | 137 | if (node) |
