summaryrefslogtreecommitdiff
path: root/example/main.c
blob: e3e33a8d497c119c3192f43cb2dbac759951fa0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdio.h>

#include "hello.h"

int main(int argc, char **argv)
{
	int i;

	printf("Hello World!\n");
	if (argc == 1) {
		hello_showgtk(argc, argv);
	} else {
		for (i = 1; i < argc; i++)
			hello_showargs(argv + 1, argc - 1);
	}
}