summaryrefslogtreecommitdiff
path: root/src/analysis/content.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/content.h')
-rw-r--r--src/analysis/content.h17
1 files changed, 3 insertions, 14 deletions
diff --git a/src/analysis/content.h b/src/analysis/content.h
index ad50c02..ce6810f 100644
--- a/src/analysis/content.h
+++ b/src/analysis/content.h
@@ -32,26 +32,15 @@
//#include "cattribs.h" // FIXME
#include "../arch/vmpa.h"
#include "../common/leb128.h"
+#include "../glibext/helpers.h"
-#define G_TYPE_BIN_CONTENT g_binary_content_get_type()
-#define G_BIN_CONTENT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), G_TYPE_BIN_CONTENT, GBinContent))
-#define G_IS_BIN_CONTENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), G_TYPE_BIN_CONTENT))
-#define G_BIN_CONTENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), G_TYPE_BIN_CONTENT, GBinContentClass))
-#define G_IS_BIN_CONTENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), G_TYPE_BIN_CONTENT))
-#define G_BIN_CONTENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), G_TYPE_BIN_CONTENT, GBinContentClass))
+#define G_TYPE_BIN_CONTENT (g_binary_content_get_type())
+DECLARE_GTYPE(GBinContent, g_binary_content, G, BIN_CONTENT);
-/* Accès à un contenu binaire quelconque (instance) */
-typedef struct _GBinContent GBinContent;
-/* Accès à un contenu binaire quelconque (classe) */
-typedef struct _GBinContentClass GBinContentClass;
-
-
-/* Détermine le type d'un contenu binaire à parcourir. */
-GType g_binary_content_get_type(void) G_GNUC_CONST;
#if 0 // FIXME
/* Associe un ensemble d'attributs au contenu binaire. */
void g_binary_content_set_attributes(GBinContent *, GContentAttributes *);