[gobject-introspection/wip/transformer] Don't do LONG_ULONG, do include <gobject.h>
- From: Tomeu Vizoso <tomeuv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection/wip/transformer] Don't do LONG_ULONG, do include <gobject.h>
- Date: Thu, 29 Jul 2010 15:16:19 +0000 (UTC)
commit 6c9c546c98f79fff6c36292fb082e9aa1dfb6cdf
Author: Colin Walters <walters verbum org>
Date: Thu Jul 29 06:45:49 2010 -0400
Don't do LONG_ULONG, do include <gobject.h>
giscanner/testcodegen.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/giscanner/testcodegen.py b/giscanner/testcodegen.py
index fd20e65..6c13a98 100644
--- a/giscanner/testcodegen.py
+++ b/giscanner/testcodegen.py
@@ -23,7 +23,7 @@ from contextlib import contextmanager
from .ast import *
from .glibast import *
-INTROSPECTABLE_BASIC = filter(lambda x: x not in (TYPE_LONG_LONG, TYPE_LONG_DOUBLE), GIR_TYPES)
+INTROSPECTABLE_BASIC = filter(lambda x: x not in (TYPE_LONG_LONG, TYPE_LONG_ULONG, TYPE_LONG_DOUBLE), GIR_TYPES)
DEFAULT_C_VALUES = {TYPE_ANY: 'NULL',
TYPE_STRING: '""',
@@ -90,6 +90,8 @@ class CCodeGenerator(object):
self.out_h.write("""
#ifndef __%s_H__
#define __%s_H__
+
+#include <glib-object.h>
""" % (nsupper, nsupper))
self.out_c.write(warning)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]