mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-25 21:31:25 +00:00
12 lines
334 B
C++
12 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;
|
||
|
}
|