Repository: lucy-clownfish Updated Branches: refs/heads/master 888627fda -> 4b0abced7
Reword documentation to work in Perl context Adjust the wording so that it works for both the C and Perl documentation. Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/4b0abced Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/4b0abced Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/4b0abced Branch: refs/heads/master Commit: 4b0abced75756c53810bb39bf18aeada13c4d18e Parents: 888627f Author: Nick Wellnhofer <wellnho...@aevum.de> Authored: Sat Feb 27 15:52:50 2016 +0100 Committer: Nick Wellnhofer <wellnho...@aevum.de> Committed: Sat Feb 27 15:57:37 2016 +0100 ---------------------------------------------------------------------- runtime/core/Clownfish/String.cfh | 2 +- runtime/core/Clownfish/Vector.cfh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/4b0abced/runtime/core/Clownfish/String.cfh ---------------------------------------------------------------------- diff --git a/runtime/core/Clownfish/String.cfh b/runtime/core/Clownfish/String.cfh index 9d38890..c279e75 100644 --- a/runtime/core/Clownfish/String.cfh +++ b/runtime/core/Clownfish/String.cfh @@ -345,7 +345,7 @@ public final class Clownfish::String nickname Str public int32_t Code_Point_From(String *self, size_t tick); - /** Return a new String containing a copy of the specified substring. + /** Return a new substring containing a copy of the specified range. * * @param offset Offset from the top, in code points. * @param length The desired length of the substring, in code points. http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/4b0abced/runtime/core/Clownfish/Vector.cfh ---------------------------------------------------------------------- diff --git a/runtime/core/Clownfish/Vector.cfh b/runtime/core/Clownfish/Vector.cfh index 608779c..cacf475 100644 --- a/runtime/core/Clownfish/Vector.cfh +++ b/runtime/core/Clownfish/Vector.cfh @@ -138,9 +138,9 @@ public final class Clownfish::Vector nickname Vec inherits Clownfish::Obj { size_t Get_Capacity(Vector *self); - /** Return a new Vector consisting of elements from a contiguous slice. If - * the specified range is out of bounds, return a Vector with fewer - * elements -- potentially none. + /** Return a slice of the Vector consisting of elements from a contiguous + * range. If the specified range is out of bounds, return a slice with + * fewer elements -- potentially none. * * @param offset The index of the element to start at. * @param length The maximum number of elements to slice.