Campbell Barton
0e4e1993e6
Cleanup: correct qsort comments
...
Also add link to original source & parenthesize min macro.
2016-01-30 13:27:48 +11:00
Campbell Barton
32be51dc66
Cleanup: warnings (msvc)
...
Part of patch D1670 by @LazyDodo
2015-12-21 13:02:38 +11:00
Campbell Barton
858e7b2f84
Correct last commit
2014-10-15 10:10:05 +02:00
Campbell Barton
2d50e5feaa
Fix T42226: Glibc <= 2.8 fails to build
2014-10-15 09:23:43 +02:00
Campbell Barton
d411e1548c
Correction to last commit
2014-06-25 04:22:14 +10:00
Campbell Barton
df1c400420
Use gnu-libc arg order for BLI_sort_r
...
When building on gnu-libc don't use our own implementation.
2014-06-25 04:04:52 +10:00
Campbell Barton
37242e6b0b
Code Cleanup: style
2014-01-21 12:05:27 +11:00
Campbell Barton
5ba8b52923
set nonnull args for BLI_qsort_r
2013-08-21 20:45:51 +00:00
Campbell Barton
89c7cf1a49
style cleanup: also use ARRAY_HAS_ITEM macro for mempool check
2013-08-21 02:29:13 +00:00
Sergey Sharybin
d22f324b50
Attempt to fix compilation error of sort.c
2013-08-19 11:50:33 +00:00
Sergey Sharybin
08c49d8a12
Use reentrant qsort() in particle codes
...
Particle system code used global variable to sort hair by orig index,
which is not safe for threading at all.
Replaced this with usage of reentrant version of qsort, which is
now implemented in BLI. It was moved from recast navigation code
to BLI, so more areas could use it (if needed).
--
svn merge -r59086:59087 ^/branches/soc-2013-depsgraph_mt
2013-08-19 10:40:47 +00:00