You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
393 B
18 lines
393 B
#include <assert.h>
|
|
// clang-format off
|
|
#include <stdio.h>
|
|
#include <jasper/jasper.h>
|
|
// clang-format on
|
|
|
|
int main()
|
|
{
|
|
/* Without any JPEG file to open, test that the call fails as
|
|
expected. This tests that linking worked. */
|
|
jas_init();
|
|
jas_image_t* img = jas_image_create0();
|
|
jas_image_destroy(img);
|
|
jas_cleanup();
|
|
|
|
return (JAS_VERSION != CMAKE_EXPECTED_JASPER_VERSION);
|
|
}
|