@@ -80,9 +80,9 @@ extern "C" {
8080 * Encode a latitude, longitude pair (in degrees) to a set of Mapcodes. Not thread-safe!
8181 *
8282 * Arguments:
83- * mapcodesAndTerritories - Results set of mapcodes and territories.
83+ * mapcodesAndTerritories - Result set of mapcodes and territories.
8484 * The caller must pass an array of at least 2 * MAX_NR_OF_MAPCODE_RESULTS
85- * string points , which must NOT be allocated or de-allocated by the caller.
85+ * string pointers , which must NOT be allocated or de-allocated by the caller.
8686 * The resulting strings are statically allocated by the library and will be overwritten
8787 * by the next call to this method!
8888 * lat - Latitude, in degrees. Range: -90..90.
@@ -94,8 +94,8 @@ extern "C" {
9494 * make them represent the coordinate more accurately.
9595 *
9696 * Returns:
97- * Number of results stored in parameter results . Always >= 0 (0 if no encoding was possible or an error occurred).
98- * The results are stored as pairs (Mapcode, territory name) in:
97+ * Number of results (N) . Always >= 0 (0 if no encoding was possible or an error occurred).
98+ * The results are stored as pairs (Mapcode, territory name) in mapcodesAndTerritories :
9999 * (results[0], results[1])...(results[(2 * N) - 2], results[(2 * N) - 1])
100100 */
101101int encodeLatLonToMapcodes_Deprecated ( // Warning: this method is deprecated and not thread-safe.
@@ -110,11 +110,11 @@ int encodeLatLonToMapcodes_Deprecated( // Warning: this method is deprecated and
110110 * DEPRECATED OLD VARIANT, NOT THREAD-SAFE:
111111 *
112112 * Convert a territory to a territory name.
113- * Non-threadsafe routine which uses static storage, overwritten at each call.
113+ * Non-thread-safe routine which uses static storage, overwritten at each call.
114114 *
115115 * Arguments:
116116 * territory - Territory to get the name of.
117- * userShortName - Pass 0 for full name, 1 for short name (state codes may be ambiguous).
117+ * useShortName - Pass 0 for full name, 1 for short name (state codes may be ambiguous).
118118 *
119119 * Returns:
120120 * Pointer to result. String will be empty if territory illegal.
@@ -148,7 +148,7 @@ char* convertToRoman(char* asciiString, int maxLength, const UWORD* utf16String)
148148 * alphabet - Alphabet to use.
149149 *
150150 * Returns:
151- * Encoded Unicode string, points at buffer from 'utf16String', allocated/ deallocated by caller.
151+ * Encoded Unicode string, points at buffer from 'utf16String', allocated and deallocated by the caller.
152152 */
153153UWORD * convertToAlphabet (UWORD * utf16String , int maxLength , const char * asciiString , enum Alphabet alphabet );
154154
0 commit comments