aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/rust/13 external c dependencies/c_accessing_zlib.c
blob: 358b989982d758aaa17a9ecba0cc3b0beb1ba81b (plain)
1
2
3
4
5
6
7
8
9
10
#include <stdio.h>
#include <string.h>
#include <zlib.h>

void c_accessing_zlib(void) {
    struct z_stream_s zstream;
    printf("Hello from C!\n");
    memset(&zstream, 0, sizeof(zstream));
    inflateInit(&zstream);
}