MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / allocate_node

Function allocate_node

Source/ThirdParty/pugixml/pugixml.cpp:585–591  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

583 }
584
585 inline xml_node_struct* allocate_node(xml_allocator& alloc, xml_node_type type)
586 {
587 xml_memory_page* page;
588 void* memory = alloc.allocate_memory(sizeof(xml_node_struct), page);
589
590 return new (memory) xml_node_struct(page, type);
591 }
592
593 inline void destroy_attribute(xml_attribute_struct* a, xml_allocator& alloc)
594 {

Callers 9

pugixml.cppFile · 0.85
append_childMethod · 0.85
prepend_childMethod · 0.85
insert_child_beforeMethod · 0.85
insert_child_afterMethod · 0.85
append_copyMethod · 0.85
prepend_copyMethod · 0.85
insert_copy_afterMethod · 0.85
insert_copy_beforeMethod · 0.85

Calls 1

allocate_memoryMethod · 0.80

Tested by

no test coverage detected