On 09/06/2016 10:36 PM, Jakub Jelinek wrote:

+/* Helper function for listing valid choices and hint for misspelled
+   value.  CANDIDATES is a vector containing all valid strings,
+   STR is set to a heap allocated string that contains all those
+   strings concatenated, separated by spaces, and the return value
+   is the closest string from those to ARG, or NULL if nothing is
+   close enough.  */

Maybe mention the return value should be freed with XDELETEVEC by the caller. Ok with that change.


Bernd

Reply via email to