RemoteDrawingEngine: Reduce RP_READ_BITMAP result timeout.
[haiku.git] / src / kits / locale / CatalogStub.cpp
blobd71956253368ca5c0983536285bf65aeee5be868
1 /*
2 * Copyright 2010-2016, Adrien Destugues <pulkomandy@pulkomandy.tk>.
3 * Distributed under the terms of the MIT License.
4 */
7 #include <Catalog.h>
8 #include <LocaleRoster.h>
10 #include <locks.h>
13 static int32 sCatalogInitOnce = INIT_ONCE_UNINITIALIZED;
16 BCatalog*
17 BLocaleRoster::GetCatalog()
19 static BCatalog sCatalog;
21 #if (__GNUC__ < 3)
22 asm volatile(".hidden GetCatalog__13BLocaleRoster");
23 #else
24 asm volatile(".hidden _ZN13BLocaleRoster10GetCatalogEv");
25 #endif
27 return _GetCatalog(&sCatalog, &sCatalogInitOnce);
31 namespace BPrivate{
32 void ForceUnloadCatalog()
34 sCatalogInitOnce = INIT_ONCE_UNINITIALIZED;