epoc32/include/stdapis/stdarg.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
child 4 837f303aceeb
     1.1 --- a/epoc32/include/stdapis/stdarg.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/stdapis/stdarg.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,56 @@
     1.4 -stdarg.h
     1.5 +/*
     1.6 +* Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.7 +* All rights reserved.
     1.8 +* This component and the accompanying materials are made available
     1.9 +* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
    1.10 +* which accompanies this distribution, and is available
    1.11 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.12 +*
    1.13 +* Initial Contributors:
    1.14 +* Nokia Corporation - initial contribution.
    1.15 +*
    1.16 +* Contributors:
    1.17 +*
    1.18 +* Description:
    1.19 +* Redistribution and use in source and binary forms, with or without 
    1.20 +* modification, are permitted provided that the following conditions are met:
    1.21 +* Redistributions of source code must retain the above copyright notice, this 
    1.22 +* list of conditions and the following disclaimer. 
    1.23 +* Redistributions in binary form must reproduce the above copyright notice, 
    1.24 +* this list of conditions and the following disclaimer in the documentation 
    1.25 +* and/or other materials provided with the distribution. 
    1.26 +* Neither the name of the <ORGANIZATION> nor the names of its contributors 
    1.27 +* may be used to endorse or promote products derived from this software 
    1.28 +* without specific prior written permission. 
    1.29 +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
    1.30 +* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
    1.31 +* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
    1.32 +* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
    1.33 +* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 
    1.34 +* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 
    1.35 +* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
    1.36 +* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
    1.37 +* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
    1.38 +* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    1.39 +* This is all somewhat tortured because ANSI C says that stdio.h is not supposed 
    1.40 +* to define va_list. stdarg_e.h defines something suitable for stdio.h, and
    1.41 +* this file sorts out va_list.
    1.42 +* 
    1.43 +*
    1.44 +*/
    1.45 +
    1.46 +
    1.47 +
    1.48 +
    1.49 +
    1.50 +
    1.51 +#ifndef _STDARG_H
    1.52 +#define _STDARG_H
    1.53 +
    1.54 +#include <stdarg_e.h>
    1.55 +
    1.56 +#ifndef __DOXYGEN__
    1.57 +#define va_list __e32_va_list
    1.58 +#endif //__DOXYGEN__
    1.59 +
    1.60 +#endif