Blender Git Commit Log
Git Commits -> Revision c3cc13e
Revision c3cc13e by Martin Poirier (master) November 1, 2007, 21:44 (GMT) |
== utils == New listbase functions: void BLI_insertlinkafter(struct ListBase *listbase, void *vprevlink, void *vnewlink); - corrolary to insertlinkbefore BLI_sortlist(struct ListBase *listbase, int (*cmp)(void *, void *)); - simple in place sorting method. NOT optimized, so use for small lists only. Uses a variant of insertion sort (I was lazy, people should feel free to rewrite). |
Commit Details:
Full Hash: c3cc13e71b1d833ba40af4b290e995893c0163d4
SVN Revision: 12453
Parent Commit: 0ca5c98
Lines Changed: +72, -0