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.
41 lines
1.1 KiB
41 lines
1.1 KiB
#ifndef GOLIB_H |
|
#define GOLIB_H |
|
|
|
#if !defined (MESON_TEST) |
|
#error "MESON_TEST not defined." |
|
#endif |
|
|
|
#include <glib.h> |
|
#include <glib-object.h> |
|
|
|
#define MESON_SAMPLE_TYPE \ |
|
(meson_sample_get_type()) |
|
#define MESON_SAMPLE(o) \ |
|
(G_TYPE_CHECK_INSTANCE_CAST ((o), MESON_SAMPLE_TYPE, MesonSample)) |
|
#define MESON_SAMPLE_CLASS(c) \ |
|
(G_TYPE_CHECK_CLASS_CAST ((c), MESON_SAMPLE_TYPE, MesonSampleClass)) |
|
#define MESON_IS_SAMPLE(o) \ |
|
(G_TYPE_CHECK_INSTANCE_TYPE ((o), MESON_SAMPLE_TYPE)) |
|
#define MESON_IS_SAMPLE_CLASS(c) \ |
|
(G_TYPE_CHECK_CLASS_TYPE ((c), MESON_SAMPLE_TYPE)) |
|
#define MESON_SAMPLE_GET_CLASS(o) \ |
|
(G_TYPE_INSTANCE_GET_CLASS ((o), MESON_SAMPLE_TYPE, MesonSampleClass)) |
|
|
|
typedef struct _MesonSample MesonSample; |
|
typedef struct _MesonSamplePrivate MesonSamplePrivate; |
|
typedef struct _MesonSampleClass MesonSampleClass; |
|
|
|
struct _MesonSample { |
|
GObject parent; |
|
}; |
|
|
|
struct _MesonSampleClass { |
|
GObjectClass parent; |
|
}; |
|
|
|
GType meson_sample_get_type () G_GNUC_CONST; |
|
MesonSample* meson_sample_new (void); |
|
|
|
void meson_sample_func (MesonSample *sample); |
|
|
|
#endif
|
|
|