Ruby 3.4.2p28 (2025-02-15 revision d2930f8e7a5db8a7337fa43370940381b420cc3e)
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.