os/ossrv/genericopenlibs/cppstdlib/stl/src/acquire_release.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /*
     2  * Copyright (c) 1999
     3  * Silicon Graphics Computer Systems, Inc.
     4  *
     5  * Copyright (c) 1999
     6  * Boris Fomitchev
     7  *
     8  * This material is provided "as is", with absolutely no warranty expressed
     9  * or implied. Any use is at your own risk.
    10  *
    11  * Permission to use or copy this software for any purpose is hereby granted
    12  * without fee, provided the above notices are retained on all copies.
    13  * Permission to modify the code and to distribute modified code is granted,
    14  * provided the above notices are retained, and a notice that the code was
    15  * modified is included with the above copyright notice.
    16  *
    17  */
    18 
    19 #ifndef ACQUIRE_RELEASE_H
    20 #define ACQUIRE_RELEASE_H
    21 
    22 #include "c_locale.h"
    23 
    24 _STLP_BEGIN_NAMESPACE
    25 _STLP_MOVE_TO_PRIV_NAMESPACE
    26 
    27 _Locale_ctype* _STLP_CALL __acquire_ctype(const char* name, _Locale_name_hint* hint);
    28 _Locale_numeric* _STLP_CALL __acquire_numeric(const char* name, _Locale_name_hint* hint);
    29 _Locale_collate* _STLP_CALL __acquire_collate(const char* name, _Locale_name_hint* hint);
    30 _Locale_monetary* _STLP_CALL __acquire_monetary(const char* name, _Locale_name_hint* hint);
    31 _Locale_messages* _STLP_CALL __acquire_messages(const char* name, _Locale_name_hint* hint);
    32 
    33 void _STLP_CALL __release_ctype(_Locale_ctype* cat);
    34 void _STLP_CALL __release_numeric(_Locale_numeric* cat);
    35 void _STLP_CALL __release_collate(_Locale_collate* cat);
    36 void _STLP_CALL __release_monetary(_Locale_monetary* cat);
    37 void _STLP_CALL __release_messages(_Locale_messages* cat);
    38 
    39 _STLP_MOVE_TO_STD_NAMESPACE
    40 _STLP_END_NAMESPACE
    41 
    42 #endif /* ACQUIRE_RELEASE_H */