Blender Git Loki

Git Commits -> Revision 0e60acc

Revision 0e60acc by Campbell Barton (master)
November 16, 2014, 13:06 (GMT)
BLI_listbase: Add BLI_listbase_count_ex (sets a limit)

This can be used to avoid redundant looping when we only want to know if a list is smaller then some size.

also remove paranoid NULL check in list counting.

Commit Details:

Full Hash: 0e60accf2afa4fc69da99743bb64d82cb3e0fbc4
Parent Commit: 7d040d2
Lines Changed: +16, -7

2 Modified Paths:

/source/blender/blenlib/BLI_listbase.h (+1, -0) (Diff)
/source/blender/blenlib/intern/listbase.c (+15, -7) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021