MCPcopy Create free account
hub / github.com/MyGUI/mygui / xpath_string

Function xpath_string

Tools/EditorFramework/pugixml.cpp:6559–6565  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6557 }
6558
6559 explicit xpath_string(const char_t* str, xpath_allocator* alloc)
6560 {
6561 bool empty_ = (*str == 0);
6562
6563 _buffer = empty_ ? PUGIXML_TEXT("") : duplicate_string(str, alloc);
6564 _uses_heap = !empty_;
6565 }
6566
6567 explicit xpath_string(const char_t* str, bool use_heap) :
6568 _buffer(str),

Callers 7

pugixml.cppFile · 0.70
eval_string_concatMethod · 0.70
eval_stringMethod · 0.70

Calls 1

duplicate_stringFunction · 0.70

Tested by

no test coverage detected