medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 22ff4e35809223c5e311c8d1fbc16feebb979420
parent e6a259265b20e642e0c5a670f5bf98b9ae3169fb
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Tue Oct 18 19:55:21 +0300

ARRAY_COUNT as alias for array_count to ease transition

Diffstat:
intrinsics.h | 1+
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/intrinsics.h b/intrinsics.h @@ -35,6 +35,7 @@ typedef uintptr_t uptr; #define U64_MAX u64( UINT64_MAX ) #define array_count( x ) ( sizeof( x ) / sizeof( ( x )[ 0 ] ) ) +#define ARRAY_COUNT array_count #define is_power_of_2( n ) ( ( ( n ) & ( ( n ) - 1 ) ) == 0 )