Merge "Make atomic-inline.h usable from ordinary C++ code."

This commit is contained in:
Carl Shapiro 2011-04-12 16:13:36 -07:00 committed by Android (Google) Code Review
commit f098c159e3
1 changed files with 8 additions and 0 deletions

View File

@ -17,6 +17,10 @@
#ifndef ANDROID_CUTILS_ATOMIC_INLINE_H
#define ANDROID_CUTILS_ATOMIC_INLINE_H
#ifdef __cplusplus
extern "C" {
#endif
/*
* Inline declarations and macros for some special-purpose atomic
* operations. These are intended for rare circumstances where a
@ -61,4 +65,8 @@
#define ANDROID_MEMBAR_STORE android_memory_store_barrier
#endif
#ifdef __cplusplus
}
#endif
#endif /* ANDROID_CUTILS_ATOMIC_INLINE_H */