aknlayoutcompiler/inc/UsefulDefinitions.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 18 Aug 2010 10:48:09 +0300
changeset 38 c811dbf92c53
parent 1 b700e12870ca
permissions -rw-r--r--
Revision: 201031 Kit: 201033

/*
* Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  
*
*/


#ifndef USEFULDEFINITIONS_H
#define USEFULDEFINITIONS_H

#define ARRAY_LEN(x) (sizeof(x)/sizeof(*(x)))
#define ARRAY_END(x) (x+(sizeof(x)/sizeof(*(x))))

#endif // USEFULDEFINITIONS_H