static_init.h (840B)
1 /* Copyright 2025 Google Inc. All Rights Reserved. 2 3 Distributed under MIT license. 4 See file LICENSE for detail or copy at https://opensource.org/licenses/MIT 5 */ 6 7 /* Central point for static initialization. */ 8 9 #ifndef THIRD_PARTY_BROTLI_DEC_STATIC_INIT_H_ 10 #define THIRD_PARTY_BROTLI_DEC_STATIC_INIT_H_ 11 12 #include "../common/platform.h" 13 #include "../common/static_init.h" 14 15 #if defined(__cplusplus) || defined(c_plusplus) 16 extern "C" { 17 #endif 18 19 #if (BROTLI_STATIC_INIT == BROTLI_STATIC_INIT_LAZY) 20 BROTLI_INTERNAL void BrotliDecoderLazyStaticInitInner(void); 21 BROTLI_INTERNAL void BrotliDecoderLazyStaticInit(void); 22 #endif /* BROTLI_STATIC_INIT */ 23 24 BROTLI_INTERNAL BROTLI_BOOL BrotliDecoderEnsureStaticInit(void); 25 26 #if defined(__cplusplus) || defined(c_plusplus) 27 } /* extern "C" */ 28 #endif 29 30 #endif // THIRD_PARTY_BROTLI_DEC_STATIC_INIT_H_