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.
45 lines
680 B
45 lines
680 B
#include "meson-sample2.h" |
|
|
|
struct _MesonSample2 |
|
{ |
|
GObject parent_instance; |
|
}; |
|
|
|
G_DEFINE_TYPE (MesonSample2, meson_sample2, G_TYPE_OBJECT) |
|
|
|
/** |
|
* meson_sample2_new: |
|
* |
|
* Allocates a new #MesonSample2. |
|
* |
|
* Returns: (transfer full): a #MesonSample2. |
|
*/ |
|
MesonSample2 * |
|
meson_sample2_new (void) |
|
{ |
|
return g_object_new (MESON_TYPE_SAMPLE2, NULL); |
|
} |
|
|
|
static void |
|
meson_sample2_class_init (MesonSample2Class *klass) |
|
{ |
|
} |
|
|
|
static void |
|
meson_sample2_init (MesonSample2 *self) |
|
{ |
|
} |
|
|
|
/** |
|
* meson_sample2_print_message: |
|
* @self: a #MesonSample2. |
|
* |
|
* Prints Hello. |
|
* |
|
* Returns: Nothing. |
|
*/ |
|
void |
|
meson_sample2_print_message (MesonSample2 *self) |
|
{ |
|
g_print ("Message: Hello\n"); |
|
}
|
|
|