php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
error.c
Go to the documentation of this file.
1/*
2 * Copyright (C) 2018 Alexander Borisov
3 *
4 * Author: Alexander Borisov <borisov@lexbor.com>
5 */
6
8
9
12 const lxb_char_t *pos,
14{
15 if (parse_errors == NULL) {
16 return NULL;
17 }
18
20 if (entry == NULL) {
21 return NULL;
22 }
23
24 entry->id = id;
25 entry->pos = pos;
26
27 return entry;
28}
void * lexbor_array_obj_push(lexbor_array_obj_t *array)
Definition array_obj.c:93
#define NULL
Definition gdcache.h:45
lxb_html_tokenizer_error_t * lxb_html_tokenizer_error_add(lexbor_array_obj_t *parse_errors, const lxb_char_t *pos, lxb_html_tokenizer_error_id_t id)
Definition error.c:11
lxb_html_tokenizer_error_id_t
Definition error.h:20
unsigned const char * pos
Definition php_ffi.h:52
const lxb_char_t * pos
Definition error.h:124
lxb_html_tokenizer_error_id_t id
Definition error.h:125
unsigned char lxb_char_t
Definition types.h:27