os/ossrv/genericopenlibs/cppstdlib/stl/src/acquire_release.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/ossrv/genericopenlibs/cppstdlib/stl/src/acquire_release.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,42 @@
     1.4 +/*
     1.5 + * Copyright (c) 1999
     1.6 + * Silicon Graphics Computer Systems, Inc.
     1.7 + *
     1.8 + * Copyright (c) 1999
     1.9 + * Boris Fomitchev
    1.10 + *
    1.11 + * This material is provided "as is", with absolutely no warranty expressed
    1.12 + * or implied. Any use is at your own risk.
    1.13 + *
    1.14 + * Permission to use or copy this software for any purpose is hereby granted
    1.15 + * without fee, provided the above notices are retained on all copies.
    1.16 + * Permission to modify the code and to distribute modified code is granted,
    1.17 + * provided the above notices are retained, and a notice that the code was
    1.18 + * modified is included with the above copyright notice.
    1.19 + *
    1.20 + */
    1.21 +
    1.22 +#ifndef ACQUIRE_RELEASE_H
    1.23 +#define ACQUIRE_RELEASE_H
    1.24 +
    1.25 +#include "c_locale.h"
    1.26 +
    1.27 +_STLP_BEGIN_NAMESPACE
    1.28 +_STLP_MOVE_TO_PRIV_NAMESPACE
    1.29 +
    1.30 +_Locale_ctype* _STLP_CALL __acquire_ctype(const char* name, _Locale_name_hint* hint);
    1.31 +_Locale_numeric* _STLP_CALL __acquire_numeric(const char* name, _Locale_name_hint* hint);
    1.32 +_Locale_collate* _STLP_CALL __acquire_collate(const char* name, _Locale_name_hint* hint);
    1.33 +_Locale_monetary* _STLP_CALL __acquire_monetary(const char* name, _Locale_name_hint* hint);
    1.34 +_Locale_messages* _STLP_CALL __acquire_messages(const char* name, _Locale_name_hint* hint);
    1.35 +
    1.36 +void _STLP_CALL __release_ctype(_Locale_ctype* cat);
    1.37 +void _STLP_CALL __release_numeric(_Locale_numeric* cat);
    1.38 +void _STLP_CALL __release_collate(_Locale_collate* cat);
    1.39 +void _STLP_CALL __release_monetary(_Locale_monetary* cat);
    1.40 +void _STLP_CALL __release_messages(_Locale_messages* cat);
    1.41 +
    1.42 +_STLP_MOVE_TO_STD_NAMESPACE
    1.43 +_STLP_END_NAMESPACE
    1.44 +
    1.45 +#endif /* ACQUIRE_RELEASE_H */