MCPcopy Create free account
hub / github.com/anjo76/angelscript / AddCode

Method AddCode

sdk/angelscript/source/as_bytecode.cpp:1602–1623  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1600}
1601
1602void asCByteCode::AddCode(asCByteCode *bc)
1603{
1604 if( bc == this ) return;
1605 if( bc->first )
1606 {
1607 if( first == 0 )
1608 {
1609 first = bc->first;
1610 last = bc->last;
1611 bc->first = 0;
1612 bc->last = 0;
1613 }
1614 else
1615 {
1616 last->next = bc->first;
1617 bc->first->prev = last;
1618 last = bc->last;
1619 bc->first = 0;
1620 bc->last = 0;
1621 }
1622 }
1623}
1624
1625int asCByteCode::AddInstruction()
1626{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected