2014-05-06 19:07:40 -07:00
|
|
|
|
|
|
|
#include "config.h"
|
|
|
|
|
|
|
|
#include "atomic.h"
|
|
|
|
|
|
|
|
|
2014-07-22 18:18:14 -07:00
|
|
|
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);
|