php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
exception.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2018 Alexander Borisov
3 *
4 * Author: Alexander Borisov <borisov@lexbor.com>
5 */
6
7#ifndef LEXBOR_DOM_EXCEPTION_H
8#define LEXBOR_DOM_EXCEPTION_H
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14#include "lexbor/core/base.h"
15
16
45
46
47/*
48 * Inline functions
49 */
50lxb_inline void *
53{
54 if (var != NULL) {
55 *var = code;
56 }
57
58 return NULL;
59}
60
61/*
62 * No inline functions for ABI.
63 */
64LXB_API void *
67
68
69#ifdef __cplusplus
70} /* extern "C" */
71#endif
72
73#endif /* LEXBOR_DOM_EXCEPTION_H */
#define LXB_API
Definition def.h:48
lxb_dom_exception_code_t
Definition exception.h:17
@ LXB_DOM_NAMESPACE_ERR
Definition exception.h:31
@ LXB_DOM_INVALID_MODIFICATION_ERR
Definition exception.h:30
@ LXB_DOM_SYNTAX_ERR
Definition exception.h:29
@ LXB_DOM_INVALID_NODE_TYPE_ERR
Definition exception.h:41
@ LXB_DOM_VALIDATION_ERR
Definition exception.h:33
@ LXB_DOM_NOT_SUPPORTED_ERR
Definition exception.h:26
@ LXB_DOM_NO_MODIFICATION_ALLOWED_ERR
Definition exception.h:24
@ LXB_DOM_INUSE_ATTRIBUTE_ERR
Definition exception.h:27
@ LXB_DOM_TYPE_MISMATCH_ERR
Definition exception.h:34
@ LXB_DOM_INDEX_SIZE_ERR
Definition exception.h:18
@ LXB_DOM_QUOTA_EXCEEDED_ERR
Definition exception.h:39
@ LXB_DOM_INVALID_ACCESS_ERR
Definition exception.h:32
@ LXB_DOM_NOT_FOUND_ERR
Definition exception.h:25
@ LXB_DOM_INVALID_CHARACTER_ERR
Definition exception.h:22
@ LXB_DOM_SECURITY_ERR
Definition exception.h:35
@ LXB_DOM_URL_MISMATCH_ERR
Definition exception.h:38
@ LXB_DOM_ABORT_ERR
Definition exception.h:37
@ LXB_DOM_TIMEOUT_ERR
Definition exception.h:40
@ LXB_DOM_DATA_CLONE_ERR
Definition exception.h:42
@ LXB_DOM_NETWORK_ERR
Definition exception.h:36
@ LXB_DOM_NO_DATA_ALLOWED_ERR
Definition exception.h:23
@ LXB_DOM_DOMSTRING_SIZE_ERR
Definition exception.h:19
@ LXB_DOM_HIERARCHY_REQUEST_ERR
Definition exception.h:20
@ LXB_DOM_WRONG_DOCUMENT_ERR
Definition exception.h:21
@ LXB_DOM_INVALID_STATE_ERR
Definition exception.h:28
LXB_API void * lxb_dom_exception_code_ref_set_noi(lxb_dom_exception_code_t *var, lxb_dom_exception_code_t code)
Definition exception.c:14
lxb_inline void * lxb_dom_exception_code_ref_set(lxb_dom_exception_code_t *var, lxb_dom_exception_code_t code)
Definition exception.h:51
#define NULL
Definition gdcache.h:45
#define lxb_inline
Definition types.h:21