MCPcopy Create free account
hub / github.com/buggins/coolreader / allocTinyElement

Method allocTinyElement

crengine/src/lvtinydom.cpp:8863–8869  ·  view source on GitHub ↗

allocate new tinyElement

Source from the content-addressed store, hash-verified

8861
8862/// allocate new tinyElement
8863ldomNode * tinyNodeCollection::allocTinyElement( ldomNode * parent, lUInt16 nsid, lUInt16 id )
8864{
8865 ldomNode * node = allocTinyNode( ldomNode::NT_ELEMENT );
8866 tinyElement * elem = new tinyElement( (ldomDocument*)this, parent, nsid, id );
8867 node->NPELEM = elem;
8868 return node;
8869}
8870
8871static void readOnlyError()
8872{

Callers 1

insertChildElementMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected