File: static_init.h

package info (click to toggle)
brotli 1.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 3,228 kB
  • sloc: ansic: 36,236; python: 817; sh: 97; makefile: 62; cpp: 14
file content (30 lines) | stat: -rw-r--r-- 840 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* Copyright 2025 Google Inc. All Rights Reserved.

   Distributed under MIT license.
   See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
*/

/* Central point for static initialization. */

#ifndef THIRD_PARTY_BROTLI_DEC_STATIC_INIT_H_
#define THIRD_PARTY_BROTLI_DEC_STATIC_INIT_H_

#include "../common/platform.h"
#include "../common/static_init.h"

#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif

#if (BROTLI_STATIC_INIT == BROTLI_STATIC_INIT_LAZY)
BROTLI_INTERNAL void BrotliDecoderLazyStaticInitInner(void);
BROTLI_INTERNAL void BrotliDecoderLazyStaticInit(void);
#endif  /* BROTLI_STATIC_INIT */

BROTLI_INTERNAL BROTLI_BOOL BrotliDecoderEnsureStaticInit(void);

#if defined(__cplusplus) || defined(c_plusplus)
}  /* extern "C" */
#endif

#endif  // THIRD_PARTY_BROTLI_DEC_STATIC_INIT_H_