The Meson Build System
http://mesonbuild.com/
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.
25 lines
504 B
25 lines
504 B
11 years ago
|
#include"golib.h"
|
||
|
|
||
11 years ago
|
#include<girepository.h>
|
||
|
|
||
|
int main(int argc, char *argv[]) {
|
||
|
GOptionContext *ctx;
|
||
|
GError *error = NULL;
|
||
11 years ago
|
MesonSample *i;
|
||
|
|
||
11 years ago
|
ctx = g_option_context_new(NULL);
|
||
|
g_option_context_add_group(ctx, g_irepository_get_option_group ());
|
||
|
|
||
|
if (!g_option_context_parse(ctx, &argc, &argv, &error)) {
|
||
|
g_print("sample: %s\n", error->message);
|
||
|
return 1;
|
||
|
}
|
||
|
|
||
11 years ago
|
i = meson_sample_new();
|
||
|
meson_sample_func(i);
|
||
|
g_object_unref(G_OBJECT(i));
|
||
|
|
||
|
return 0;
|
||
|
}
|
||
|
|