Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-02-15 | Cleanup: use '_len' instead of '_size' w/ BLI API | Campbell Barton | |
- When returning the number of items in a collection use BLI_*_len() - Keep _size() for size in bytes. - Keep _count() for data structures that don't store length (hint this isn't a simple getter). See P611 to apply instead of manually resolving conflicts. | |||
2015-12-10 | Use 'peek' instead of 'last' for stack macro | Campbell Barton | |
2015-07-31 | Docs: doxy corrections | Campbell Barton | |
2015-04-29 | Add macro BLI_SMALLSTACK_AS_TABLE | Campbell Barton | |
Use for edge-split (a little less overhead compare to popping each item). | |||
2015-01-12 | BLI linkstack macros: do not prepend the 'anti-namespace-collision' to var name. | Bastien Montagne | |
Issue was, in case of using such stack within a structure, the '_' underscore would be added in front of struct variable (e.g. `my_struct.my_stack` would lead to (try to) using `_my_struct.my_var_pool` ...). Now underscore is appended to var names, ugly but working. Note did not touch to the alloca variants of those macros, since in this case enforcing a pure local use is best I think. | |||
2014-07-12 | Replace BLI_SMALLSTACK_FREE with fake user (quiet warnings in msvc) | Campbell Barton | |
2014-07-09 | Correct IS_EMPTY macro | Campbell Barton | |
also prevent reading from BM_ELEM_API_FLAG_ get/setters | |||
2014-06-18 | Correct casts for IS_EQ and other macro tweaks | Campbell Barton | |
- ensure GET_INT_FROM_POINTER us only used to get values - rename STACK_POP_ELSE -> STACK_POP_DEFAULT | |||
2014-05-10 | Utility macros for linklist stack & asserts for bmesh | Campbell Barton | |
2014-04-13 | LinkList stack macros to swap and pop into a separate stack. | Campbell Barton | |
2014-04-08 | Mempool: delay allocating an initial chunk, its not always used | Campbell Barton | |
2014-04-05 | Mempool: remove BLI_MEMPOOL_SYSMALLOC, MEM_* allocs are more efficient now | Campbell Barton | |
2013-12-04 | User interface: internal change, collect panels to draw before drawing. | Campbell Barton | |
avoids calling poll twice, in some cases | |||
2013-10-09 | code cleanup: redundant includes and add minor comments. | Campbell Barton | |
2013-09-10 | Possible fix for MSVC compiling (grr...). | Bastien Montagne | |
2013-09-10 | add BLI_SMALLSTACK_***, macros: stack doesn't have a fixed size, it uses ↵ | Campbell Barton | |
stack memory and never allocates. it can be added and removed many times per function but will always remain the size of the maximum number of items. not used yet, added for normal calculation function from mont29. | |||
2013-08-31 | mempool internal change, use unsigned ints where possible (less overhead), | Campbell Barton | |
also quiet compiler warning for BLI_LINKSTACK_FREE macro. | |||
2013-08-17 | add linklist stack macros, use where over allocating an array was previously ↵ | Campbell Barton | |
done. |