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

Method DisconnectParent

sdk/angelscript/source/as_scriptnode.cpp:156–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156void asCScriptNode::DisconnectParent()
157{
158 if( parent )
159 {
160 if( parent->firstChild == this )
161 parent->firstChild = next;
162 if( parent->lastChild == this )
163 parent->lastChild = prev;
164 }
165
166 if( next )
167 next->prev = prev;
168
169 if( prev )
170 prev->next = next;
171
172 parent = 0;
173 next = 0;
174 prev = 0;
175}
176
177END_AS_NAMESPACE
178

Callers 15

CompileGlobalVarMethod · 0.80
CompileFunctionMethod · 0.80
ParseScriptsMethod · 0.80
RegisterGlobalVarMethod · 0.80
RegisterMixinClassMethod · 0.80
RegisterClassMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected