Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing descriptions.

  • Loading branch information...
commit aae0bfeabc61f3a9f14dda6dc483da4c23990d1a 1 parent 7af4edf
@JanX2 authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  DiffMatchPatch.m
  2. +2 −2 DiffMatchPatchCFUtilities.c
View
2  DiffMatchPatch.m
@@ -958,7 +958,7 @@ - (NSArray *)diff_linesToCharsForFirstString:(NSString *)text1
* The type is determined by the mode object.
* @param text1 First NSString.
* @param text2 Second NSString.
- * @param mode Object determining the mode.
+ * @param mode value determining the tokenization mode.
* @return Three element NSArray, containing the encoded text1, the
* encoded text2 and the NSMutableArray of unique strings. The zeroth element
* of the NSArray of unique strings is intentionally blank.
View
4 DiffMatchPatchCFUtilities.c
@@ -455,8 +455,8 @@ CFStringRef diff_linesToCharsMungeCFStringCreate(CFStringRef text, CFMutableArra
* Split a text into a list of strings. Reduce the texts to a CFStringRef of
* hashes where where each Unicode character represents one token (or boundary between tokens).
* @param text CFString to encode.
- * @param lineArray CFMutableArray of unique strings.
- * @param lineHash Map of strings to indices.
+ * @param tokenArray CFMutableArray of unique strings.
+ * @param tokenHash Map of strings to indices.
* @return Encoded CFStringRef.
*/
CFStringRef diff_tokensToCharsMungeCFStringCreate(CFStringRef text, CFMutableArrayRef tokenArray, CFMutableDictionaryRef tokenHash, CFOptionFlags tokenizerOptions) {
Please sign in to comment.
Something went wrong with that request. Please try again.