mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-28 22:52:17 +00:00
11 lines
326 B
C++
11 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;
|
|
}
|