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

Function data

Tools/EditorFramework/pugixml.cpp:6632–6642  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6630 }
6631
6632 char_t* data(xpath_allocator* alloc)
6633 {
6634 // make private heap copy
6635 if (!_uses_heap)
6636 {
6637 _buffer = duplicate_string(_buffer, alloc);
6638 _uses_heap = true;
6639 }
6640
6641 return const_cast<char_t*>(_buffer);
6642 }
6643
6644 bool empty() const
6645 {

Callers

nothing calls this directly

Calls 1

duplicate_stringFunction · 0.70

Tested by

no test coverage detected