diff options
| author | Andreas Huber <andih@google.com> | 2009-08-17 13:33:27 -0700 |
|---|---|---|
| committer | Andreas Huber <andih@google.com> | 2009-08-17 15:31:25 -0700 |
| commit | 2f10ae08d435b12e1798d93e0b90605717c66081 (patch) | |
| tree | 30d50a2897e1f0a1835e72c8fa7b057c98ad8c2e /include/utils | |
| parent | 01f750d6fa03f16ef93802618a6ccf8b353ae8e2 (diff) | |
| download | frameworks_base-2f10ae08d435b12e1798d93e0b90605717c66081.zip frameworks_base-2f10ae08d435b12e1798d93e0b90605717c66081.tar.gz frameworks_base-2f10ae08d435b12e1798d93e0b90605717c66081.tar.bz2 | |
Support for marshalling pointers / intptr_t in Parcel.
Some refactoring to eliminate code duplication in Parcel implementation.
Diffstat (limited to 'include/utils')
| -rw-r--r-- | include/utils/Debug.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/utils/Debug.h b/include/utils/Debug.h index 21d04bd..d9ed32d 100644 --- a/include/utils/Debug.h +++ b/include/utils/Debug.h @@ -29,6 +29,8 @@ template<> struct CompileTimeAssert<true> {}; #define COMPILE_TIME_ASSERT(_exp) \ template class CompileTimeAssert< (_exp) >; #endif +#define COMPILE_TIME_ASSERT_FUNCTION_SCOPE(_exp) \ + CompileTimeAssert<( _exp )>(); // --------------------------------------------------------------------------- |
