From c6b9039fd94aede59ac1086a379955137fc8e1b8 Mon Sep 17 00:00:00 2001 From: John Koleszar Date: Fri, 13 Jul 2012 15:21:29 -0700 Subject: Restyle code Approximate the Google style guide[1] so that that there's a written document to follow and tools to check compliance[2]. [1]: http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml [2]: http://google-styleguide.googlecode.com/svn/trunk/cpplint/cpplint.py Change-Id: Idf40e3d8dddcc72150f6af127b13e5dab838685f --- vp8/common/common.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'vp8/common/common.h') diff --git a/vp8/common/common.h b/vp8/common/common.h index 999f79f2f..c6e6fcb7c 100644 --- a/vp8/common/common.h +++ b/vp8/common/common.h @@ -23,16 +23,16 @@ /* Only need this for fixed-size arrays, for structs just assign. */ #define vp8_copy( Dest, Src) { \ - assert( sizeof( Dest) == sizeof( Src)); \ - vpx_memcpy( Dest, Src, sizeof( Src)); \ - } + assert( sizeof( Dest) == sizeof( Src)); \ + vpx_memcpy( Dest, Src, sizeof( Src)); \ + } /* Use this for variably-sized arrays. */ #define vp8_copy_array( Dest, Src, N) { \ - assert( sizeof( *Dest) == sizeof( *Src)); \ - vpx_memcpy( Dest, Src, N * sizeof( *Src)); \ - } + assert( sizeof( *Dest) == sizeof( *Src)); \ + vpx_memcpy( Dest, Src, N * sizeof( *Src)); \ + } #define vp8_zero( Dest) vpx_memset( &Dest, 0, sizeof( Dest)); -- cgit v1.2.3