MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / link

Method link

src/common/classes/Hash.h:104–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102 }
103
104 void link(Entry** where)
105 {
106 unLink();
107
108 // set our pointers
109 previousElement = where;
110 nextElement = previousElement ? *previousElement : NULL;
111
112 // make next element (if present) to point to us
113 if (nextElement)
114 {
115 nextElement->previousElement = &nextElement;
116 }
117
118 // make previous element point to us
119 *previousElement = this;
120 }
121
122 void unLink()
123 {

Callers 1

addMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected