diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:50:09 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:50:09 +0000 |
commit | f3fbd1c0586ff6ec7895991e6c28f61a503c36a8 (patch) | |
tree | 48d008fd3df8c0e73271a4b18474e0aac6dbfe33 /source/API/SBStringList.cpp | |
parent | 2fc5d2d1dfaf623ce4e24cd8590565902f8c557c (diff) |
Notes
Diffstat (limited to 'source/API/SBStringList.cpp')
-rw-r--r-- | source/API/SBStringList.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source/API/SBStringList.cpp b/source/API/SBStringList.cpp index 129d2f4c11f0..f469bc4336fc 100644 --- a/source/API/SBStringList.cpp +++ b/source/API/SBStringList.cpp @@ -126,6 +126,16 @@ SBStringList::GetStringAtIndex (size_t idx) return NULL; } +const char * +SBStringList::GetStringAtIndex (size_t idx) const +{ + if (IsValid()) + { + return m_opaque_ap->GetStringAtIndex (idx); + } + return NULL; +} + void SBStringList::Clear () { |