Blender Git Loki

Git Commits -> Revision bee7a56

Revision bee7a56 by Sybren A. Stüvel (master)
November 16, 2021, 16:11 (GMT)
Cleanup: document that `MEM_dupallocN` is NULL-safe

Add comment explaining `MEM_dupallocN` is NULL-safe, in that it returns
NULL when it receives a NULL pointer. This is currently true for both
implementations of the function (`MEM_lockfree_dupallocN` and
`MEM_guarded_dupallocN`), and will be expected of other implementations
as well.

No functional changes.

Commit Details:

Full Hash: bee7a56687283cc3642d625357d8d2b1847b67a1
Parent Commit: 64003fa
Lines Changed: +2, -1

1 Modified Path:

/intern/guardedalloc/MEM_guardedalloc.h (+2, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021