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.
24 lines
504 B
24 lines
504 B
#include"golib.h" |
|
|
|
#include<girepository.h> |
|
|
|
int main(int argc, char *argv[]) { |
|
GOptionContext *ctx; |
|
GError *error = NULL; |
|
MesonSample *i; |
|
|
|
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; |
|
} |
|
|
|
i = meson_sample_new(); |
|
meson_sample_func(i); |
|
g_object_unref(G_OBJECT(i)); |
|
|
|
return 0; |
|
} |
|
|
|
|