aknlayoutcompiler/inc/UsefulDefinitions.h
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:16:33 +0100
branchRCL_3
changeset 42 01fc9b7302d1
parent 1 b700e12870ca
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

/*
* 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