Ruby 3.4.3p32 (2025-04-14 revision d0b7e5b6a04bde21ca483d20a1546b28b401c2d4)
pm_strpbrk.h
Go to the documentation of this file.
1
6#ifndef PRISM_STRPBRK_H
7#define PRISM_STRPBRK_H
8
9#include "prism/defines.h"
10#include "prism/diagnostic.h"
11#include "prism/parser.h"
12
13#include <stddef.h>
14#include <string.h>
15
44const uint8_t * pm_strpbrk(pm_parser_t *parser, const uint8_t *source, const uint8_t *charset, ptrdiff_t length, bool validate);
45
46#endif
A list of diagnostics generated during parsing.
The parser used to parse Ruby source.
struct pm_parser pm_parser_t
The parser used to parse Ruby source.
Definition parser.h:267
const uint8_t * pm_strpbrk(pm_parser_t *parser, const uint8_t *source, const uint8_t *charset, ptrdiff_t length, bool validate)
Here we have rolled our own version of strpbrk.
Definition pm_strpbrk.c:194
Macro definitions used throughout the prism library.