mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
string.c (mrb_memsearch_ss): update comment
This commit is contained in:
+2
-3
@@ -566,10 +566,9 @@ str_index_str_by_char(mrb_state *mrb, mrb_value str, mrb_value sub, mrb_int pos)
|
||||
#define str_index_str_by_char(mrb, str, sub, pos) str_index_str((mrb), (str), (sub), (pos))
|
||||
#endif
|
||||
|
||||
/* The function is taken from https://github.com/WojciechMula/sse4-strstr.git */
|
||||
/* The original source code is under 2 clause BSD license; see LEGAL file. */
|
||||
/* The function is taken from http://0x80.pl/articles/simd-strfind.html */
|
||||
/* The original source code is under 2-clause BSD license; see LEGAL file. */
|
||||
/* The modifications:
|
||||
|
||||
* port from C++ to C
|
||||
* takes unsigned char*
|
||||
* returns mrb_int
|
||||
|
||||
Reference in New Issue
Block a user