Build the timings tree. Remove next from segments and make sub_segments GSList values
commita8b581e7b00750725eb6257ec6d59752382a72c1
authorKoos Vriezen <koos.vriezen@gmail.com>
Sun, 20 Apr 2008 18:51:03 +0000 (20 20:51 +0200)
committerKoos Vriezen <koos.vriezen@gmail.com>
Sun, 20 Apr 2008 18:51:03 +0000 (20 20:51 +0200)
tree4512389c37c52f3407ad6b9455b2cb4d67cc70ba
parente554c3063464aa7a91409d5d9afec4972fb7ed73
Build the timings tree. Remove next from segments and make sub_segments GSList values

The timer segment is supposed to be store in a GSList for subsequent segments.
The sub_segments is a GSList of parallel segment lists.
The destruction works from leaves only. Because timing nodes have a
pointer to a segment, this simplifies dangling pointer prevention. And timing
segments are bound to nodes anyhow.
src/laugh-dom.c
src/laugh-dom.h
src/laugh-timing.c
src/laugh-timing.h
src/main.c