summaryrefslogtreecommitdiff
path: root/src/main.c
blob: 209c88a97f09b2bf57575bb59306e8a989801ab8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <stdio.h>
#include <aplwc.h>

int
main(void)
{
	Aplwc *aplwc;

	int ret = aplwc_new(&aplwc);
	if(ret){
		fprintf(stderr, "Couldn't create new aplwc instance: %s\n", aplwc_errstr(aplwc));
		return 1;
	}

	
	ret = aplwc_destroy(aplwc);
	if(ret){
		fprintf(stderr, "Couldn't destroy the aplwc instance: %s\n", aplwc_errstr(aplwc));
		return 1;
	}

	return 0;
}