1
This commit is contained in:
parent
2a26b63c85
commit
190668be5f
@ -19,10 +19,12 @@ func (this *ListHead) Del() {
|
||||
|
||||
func (this *ListHead) AddTail(pnew *ListHead) {
|
||||
prev := this.prev
|
||||
prev.next = pnew
|
||||
this.prev = pnew
|
||||
pnew.next = this
|
||||
next := this
|
||||
|
||||
next.prev = pnew
|
||||
pnew.next = next
|
||||
pnew.prev = prev
|
||||
prev.next = pnew
|
||||
}
|
||||
|
||||
func (this *ListHead) FirstEntry() interface{} {
|
||||
|
Loading…
x
Reference in New Issue
Block a user