-
- Downloads
Fragment: added parent
Every fragment has a parent now, this is useful for both traversing the tree and checking for cycles when a node is added, which would cause problems, like freeing things twice or similar nice bugs. Both wouldn't be possible otherwise. These features are not implemented yet.
Showing
- sefht.geany 7 additions, 7 deletionssefht.geany
- src/lib/sefht/fragment.c 9 additions, 1 deletionsrc/lib/sefht/fragment.c
- src/lib/sefht/fragment.h 4 additions, 0 deletionssrc/lib/sefht/fragment.h
- src/lib/sefht/fragment_class.c 35 additions, 6 deletionssrc/lib/sefht/fragment_class.c
- src/lib/sefht/fragment_data.c 4 additions, 2 deletionssrc/lib/sefht/fragment_data.c
- src/lib/sefht/node_fragment.c 14 additions, 3 deletionssrc/lib/sefht/node_fragment.c
- src/lib/sefht/node_fragment.h 6 additions, 0 deletionssrc/lib/sefht/node_fragment.h
- tests/test_node_fragment.c 15 additions, 0 deletionstests/test_node_fragment.c
Loading
Please register or sign in to comment