[Groonga-commit] groonga/groonga at ca76caa [master] plugin string: add a comment

Back to archive index

Susumu Yata null+****@clear*****
Mon Feb 1 11:37:03 JST 2016


Susumu Yata	2016-02-01 11:37:03 +0900 (Mon, 01 Feb 2016)

  New Revision: ca76caaa436e5ff8e78b37c72976c5450591604b
  https://github.com/groonga/groonga/commit/ca76caaa436e5ff8e78b37c72976c5450591604b

  Message:
    plugin string: add a comment

  Modified files:
    plugins/functions/string.c

  Modified: plugins/functions/string.c (+5 -0)
===================================================================
--- plugins/functions/string.c    2016-02-01 11:15:21 +0900 (cb2ee4b)
+++ plugins/functions/string.c    2016-02-01 11:37:03 +0900 (b19ef6a)
@@ -22,6 +22,11 @@
 
 #include <groonga/plugin.h>
 
+/*
+ * func_string_length() returns the number of characters in a string.
+ * If the string contains an invalid byte sequence, this function returns the
+ * number of characters before the invalid byte sequence.
+ */
 static grn_obj *
 func_string_length(grn_ctx *ctx, int n_args, grn_obj **args,
                    grn_user_data *user_data)
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index