1 2 3 4 5 6 7 8 9 10
#include "config.h" #include "atomic.h" extern inline void InitRef(RefCount *ptr, uint value); extern inline uint ReadRef(RefCount *ptr); extern inline uint IncrementRef(RefCount *ptr); extern inline uint DecrementRef(RefCount *ptr);