diff options
| author | NAITOH Jun <naitoh@gmail.com> | 2024-09-14 06:36:11 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-09-24 15:12:48 +0900 |
| commit | 373f679e48068ebead61a029922a48879c39bef5 (patch) | |
| tree | 6d5b25acb5fafc75d541c585e46d51101ddadab9 /include/ruby/debug.h | |
| parent | 4956324af3ef3b3f706a863e3ba5239ad77f73c4 (diff) | |
fix rb_memsearch() document
## Why?
The explanation of x and y is reversed.
https://github.com/ruby/ruby/blob/ddbd64400199fd408d23c85f9fb0d7f742ecf9e1/re.c#L251-L256
```
long
rb_memsearch(const void *x0, long m, const void *y0, long n, rb_encoding *enc)
{
const unsigned char *x = x0, *y = y0;
if (m > n) return -1;
```
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/11625
Diffstat (limited to 'include/ruby/debug.h')
0 files changed, 0 insertions, 0 deletions
