php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
body_element.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
9
10
13{
15
16 element = lexbor_mraw_calloc(document->dom_document.mraw,
18 if (element == NULL) {
19 return NULL;
20 }
21
23
26
27 return element;
28}
29
lxb_html_body_element_t * lxb_html_body_element_interface_destroy(lxb_html_body_element_t *body_element)
lxb_html_body_element_t * lxb_html_body_element_interface_create(lxb_html_document_t *document)
#define lxb_dom_interface_node(obj)
Definition interface.h:31
struct lxb_dom_node lxb_dom_node_t
Definition interface.h:38
@ LXB_DOM_NODE_TYPE_ELEMENT
Definition node.h:25
#define NULL
Definition gdcache.h:45
struct lxb_html_body_element lxb_html_body_element_t
Definition interface.h:101
struct lxb_html_document lxb_html_document_t
Definition interface.h:95
lxb_inline lxb_dom_document_t * lxb_html_document_original_ref(lxb_html_document_t *document)
Definition document.h:218
lxb_dom_node_t * lxb_dom_node_interface_destroy(lxb_dom_node_t *node)
Definition node.c:124
void * lexbor_mraw_calloc(lexbor_mraw_t *mraw, size_t size)
Definition mraw.c:227
lexbor_mraw_t * mraw
Definition document.h:53
lxb_dom_document_t * owner_document
Definition node.h:50
lxb_dom_node_type_t type
Definition node.h:59
lxb_dom_document_t dom_document
Definition document.h:58
ZEND_API void(ZEND_FASTCALL *zend_touch_vm_stack_data)(void *vm_stack_data)