Adaptation/GUID-2C1B74C4-C80D-5EF9-B822-2DA2FCF9B006.dita
author Graeme Price <GRAEME.PRICE@NOKIA.COM>
Fri, 15 Oct 2010 14:32:18 +0100
changeset 15 307f4279f433
permissions -rw-r--r--
Initial contribution of the Adaptation Documentation.

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
<!-- This component and the accompanying materials are made available under the terms of the License 
"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: 
-->
<!DOCTYPE concept
  PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
<concept id="GUID-2C1B74C4-C80D-5EF9-B822-2DA2FCF9B006" xml:lang="en"><title>General
Macros</title><shortdesc>Describes macros that can be used in the platform-specific configuration
header and in bootstrap code. </shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody>
<section id="GUID-B30AB815-54B8-48BB-9D3C-5607AF7B17C7"><title>INIT_LOGICAL_SYMBOL</title><codeblock id="GUID-CC5AE5B8-282D-59A9-9DD6-2D1D3A44944A" xml:space="preserve">INIT_LOGICAL_SYMBOL SYM, COUNT</codeblock><p>Checks if the symbol <codeph>SYM</codeph> is defined. If so, it sets it to
a value which is logically TRUE and increments symbol <codeph>COUNT</codeph> by
one; <codeph>COUNT</codeph> may be omitted if not required. </p><p>If the
symbol <codeph>SYM</codeph> is not defined, then the macro defines it, and
sets it to a logically <codeph>FALSE</codeph> value. </p> </section>
<section id="GUID-5C119585-EA08-4981-AC57-47D38E3959DD"><title>INIT_NUMERIC_SYMBOL</title><codeblock id="GUID-A3603B75-AD74-5764-B822-8D91D21F5058" xml:space="preserve">INIT_NUMERIC_SYMBOL    SYM, DEFAULT</codeblock><p>Checks if the symbol <codeph>SYM</codeph> is defined. If so, its value
is left unchanged. </p><p>If <codeph>SYM</codeph> is not defined, then the
macro defines it as a numeric variable and sets its value to <codeph>DEFAULT</codeph>. </p> </section>
<section id="GUID-09DF08C5-F1CC-4ADA-89AA-41EA99B0F084"><title>INIT_NUMERIC_CONSTANT</title><codeblock id="GUID-DA525C7F-ABAC-5121-B752-3E5C81BB29B9" xml:space="preserve">INIT_NUMERIC_CONSTANT    SYM, DEFAULT</codeblock><p>Checks if the symbol <codeph>SYM</codeph> is defined. If so, its value
is left unchanged. </p><p>If <codeph>SYM</codeph> is not defined, then the
macro defines it as a numeric constant and sets its value to <codeph>DEFAULT</codeph>. </p> </section>
</conbody></concept>