Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | /* |
michael@0 | 2 | * Copyright (c) 1999 |
michael@0 | 3 | * Silicon Graphics Computer Systems, Inc. |
michael@0 | 4 | * |
michael@0 | 5 | * Copyright (c) 1999 |
michael@0 | 6 | * Boris Fomitchev |
michael@0 | 7 | * |
michael@0 | 8 | * This material is provided "as is", with absolutely no warranty expressed |
michael@0 | 9 | * or implied. Any use is at your own risk. |
michael@0 | 10 | * |
michael@0 | 11 | * Permission to use or copy this software for any purpose is hereby granted |
michael@0 | 12 | * without fee, provided the above notices are retained on all copies. |
michael@0 | 13 | * Permission to modify the code and to distribute modified code is granted, |
michael@0 | 14 | * provided the above notices are retained, and a notice that the code was |
michael@0 | 15 | * modified is included with the above copyright notice. |
michael@0 | 16 | * |
michael@0 | 17 | */ |
michael@0 | 18 | |
michael@0 | 19 | #ifndef ACQUIRE_RELEASE_H |
michael@0 | 20 | #define ACQUIRE_RELEASE_H |
michael@0 | 21 | |
michael@0 | 22 | #include "c_locale.h" |
michael@0 | 23 | |
michael@0 | 24 | _STLP_BEGIN_NAMESPACE |
michael@0 | 25 | _STLP_MOVE_TO_PRIV_NAMESPACE |
michael@0 | 26 | |
michael@0 | 27 | _Locale_ctype* _STLP_CALL __acquire_ctype(const char* &name, char *buf, _Locale_name_hint* hint, int *__err_code); |
michael@0 | 28 | _Locale_codecvt* _STLP_CALL __acquire_codecvt(const char* &name, char *buf, _Locale_name_hint* hint, int *__err_code); |
michael@0 | 29 | _Locale_numeric* _STLP_CALL __acquire_numeric(const char* &name, char *buf, _Locale_name_hint* hint, int *__err_code); |
michael@0 | 30 | _Locale_collate* _STLP_CALL __acquire_collate(const char* &name, char *buf, _Locale_name_hint* hint, int *__err_code); |
michael@0 | 31 | _Locale_monetary* _STLP_CALL __acquire_monetary(const char* &name, char *buf, _Locale_name_hint* hint, int *__err_code); |
michael@0 | 32 | _Locale_time* _STLP_CALL __acquire_time(const char* &name, char *buf, _Locale_name_hint*, int *__err_code); |
michael@0 | 33 | _Locale_messages* _STLP_CALL __acquire_messages(const char* &name, char *buf, _Locale_name_hint* hint, int *__err_code); |
michael@0 | 34 | |
michael@0 | 35 | void _STLP_CALL __release_ctype(_Locale_ctype* cat); |
michael@0 | 36 | void _STLP_CALL __release_codecvt(_Locale_codecvt* cat); |
michael@0 | 37 | void _STLP_CALL __release_numeric(_Locale_numeric* cat); |
michael@0 | 38 | void _STLP_CALL __release_collate(_Locale_collate* cat); |
michael@0 | 39 | void _STLP_CALL __release_monetary(_Locale_monetary* cat); |
michael@0 | 40 | void _STLP_CALL __release_time(_Locale_time* __time); |
michael@0 | 41 | void _STLP_CALL __release_messages(_Locale_messages* cat); |
michael@0 | 42 | |
michael@0 | 43 | _STLP_MOVE_TO_STD_NAMESPACE |
michael@0 | 44 | _STLP_END_NAMESPACE |
michael@0 | 45 | |
michael@0 | 46 | #endif /* ACQUIRE_RELEASE_H */ |