Add an 'atomic cas' wrapper for pointers.
authorBastien Montagne <montagne29@wanadoo.fr>
Mon, 25 Sep 2017 08:40:50 +0000 (10:40 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Mon, 25 Sep 2017 08:40:50 +0000 (10:40 +0200)
commit1d8aebaa096fd5afc758a88f99862e74b5d6c7e0
tree54a8549fdf4087664aeaea27de1b58479205fb2f
parent01a3c6b204bfbe149dc2cc2278dd58f206af7ae2
Add an 'atomic cas' wrapper for pointers.

Avoids having to repeat obfuscating castings everywhere...
intern/atomic/atomic_ops.h
intern/atomic/intern/atomic_ops_ext.h
source/blender/blenkernel/intern/cdderivedmesh.c
source/blender/blenkernel/intern/editderivedmesh.c
source/blender/blenkernel/intern/subsurf_ccg.c