mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-14 00:11:16 +00:00
11 lines
334 B
C++
11 lines
334 B
C++
#include <brotli/decode.h>
|
|
|
|
int main()
|
|
{
|
|
BrotliDecoderState* decoder = BrotliDecoderCreateInstance(nullptr, nullptr, nullptr);
|
|
AEDI_EXPECT(decoder != nullptr);
|
|
AEDI_EXPECT(BrotliDecoderSetParameter(decoder, BROTLI_DECODER_PARAM_LARGE_WINDOW, 1) == BROTLI_TRUE);
|
|
BrotliDecoderDestroyInstance(decoder);
|
|
|
|
return 0;
|
|
}
|