Ruby 4.0.7p0 (2026-09-15 revision 229531a6cfbf07e3caef30dbac24a2a3f3fed482)
pm_memchr.h
Go to the documentation of this file.
1
6#ifndef PRISM_MEMCHR_H
7#define PRISM_MEMCHR_H
8
9#include "prism/defines.h"
10#include "prism/encoding.h"
11
12#include <stddef.h>
13
27void * pm_memchr(const void *source, int character, size_t number, bool encoding_changed, const pm_encoding_t *encoding);
28
29#endif
Macro definitions used throughout the prism library.
The encoding interface and implementations used by the parser.
This struct defines the functions necessary to implement the encoding interface so we can determine h...
Definition encoding.h:23