Blender Git Commit Log

Git Commits -> Revision 38cc53a

Revision 38cc53a by Jacques Lucke (master)
September 14, 2019, 14:25 (GMT)
BLI: make Map.add_or_modify more powerful

The function now allows custom return types defined
by the callbacks. This can be useful when a user of the
data structure has to implement some custom behavior.

Commit Details:

Full Hash: 38cc53a168d27b19fb6033a38a043b5076c0aea6
Parent Commit: d6057b9
Lines Changed: +51, -21

2 Modified Paths:

/source/blender/blenlib/BLI_map.h (+42, -18) (Diff)
/tests/gtests/blenlib/BLI_map_test.cc (+9, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021