2 * Copyright 2011, Oliver Tappe, zooey@hirschkaefer.de.
3 * Distributed under the terms of the MIT License.
5 #ifndef _ICU_THREAD_LOCAL_STORAGE_VALUE_H
6 #define _ICU_THREAD_LOCAL_STORAGE_VALUE_H
11 #include <unicode/ucnv.h>
13 #include <SupportDefs.h>
20 struct ICUThreadLocalStorageValue
{
21 UConverter
* converter
;
24 ICUThreadLocalStorageValue();
25 ~ICUThreadLocalStorageValue();
27 static status_t
GetInstanceForKey(pthread_key_t tlsKey
,
28 ICUThreadLocalStorageValue
*& instanceOut
);
32 } // namespace Libroot
33 } // namespace BPrivate
36 #endif // _ICU_THREAD_LOCAL_STORAGE_VALUE_H