os/ossrv/genericopenlibs/cppstdlib/inc/wsd_streams.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /*
     2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description:
    15 * Name        : wsd_streams.h
    16 * Part of     : standard c++ library.
    17 * 
    18 *
    19 */
    20 
    21 
    22 
    23 #ifndef WSD_STREAMS_H_
    24 #define WSD_STREAMS_H_
    25 
    26 
    27 
    28 /********************** stream related ****************/
    29 inline long& std::ios_base::Init::get_ios_base_Init_S_count()
    30 	{
    31 		return get_libcpp_wsd().ios_base_Init_S_count;
    32 	}
    33 
    34 //_ios_base.h
    35 inline bool& std::ios_base::get_ios_base_S_was_synced()
    36 	{
    37 		return get_libcpp_wsd().ios_base_S_was_synced;
    38 	}
    39 //ios.cpp - function static in ios_base::xalloc()
    40 inline int& get_ios_base_xalloc_S_index()
    41 	{
    42 	return get_libcpp_wsd().ios_base_xalloc_S_index;
    43 	}
    44 
    45 //ios.cpp - function static in ios_base::xalloc()
    46 inline std::_STLP_STATIC_MUTEX& get_ios_base_xalloc_lock()
    47 	{
    48 	return get_libcpp_wsd().ios_base_xalloc_lock;
    49 	}
    50 
    51 
    52 #endif /*WSD_STREAMS_H_*/