mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-25 21:31:25 +00:00
12 lines
326 B
C++
12 lines
326 B
C++
|
#include <brotli/encode.h>
|
||
|
|
||
|
int main()
|
||
|
{
|
||
|
BrotliEncoderState* encoder = BrotliEncoderCreateInstance(nullptr, nullptr, nullptr);
|
||
|
AEDI_EXPECT(encoder != nullptr);
|
||
|
AEDI_EXPECT(BrotliEncoderSetParameter(encoder, BROTLI_PARAM_LARGE_WINDOW, 1) == BROTLI_TRUE);
|
||
|
BrotliEncoderDestroyInstance(encoder);
|
||
|
|
||
|
return 0;
|
||
|
}
|