gobject-introspection r968 - in trunk: . giscanner
- From: johan svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r968 - in trunk: . giscanner
- Date: Tue, 25 Nov 2008 21:05:21 +0000 (UTC)
Author: johan
Date: Tue Nov 25 21:05:21 2008
New Revision: 968
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=968&view=rev
Log:
2008-11-25 Johan Dahlin <jdahlin async com br>
* giscanner/ast.py: Define socklen_t as an alias for int32.
Modified:
trunk/ChangeLog
trunk/giscanner/ast.py
Modified: trunk/giscanner/ast.py
==============================================================================
--- trunk/giscanner/ast.py (original)
+++ trunk/giscanner/ast.py Tue Nov 25 21:05:21 2008
@@ -86,7 +86,7 @@
for name in GIR_TYPES:
type_names[name] = name
-# C
+# C builtin
type_names['char'] = TYPE_INT8
type_names['signed char'] = TYPE_INT8
type_names['unsigned char'] = TYPE_UINT8
@@ -106,11 +106,13 @@
type_names['char*'] = TYPE_STRING
type_names['void*'] = TYPE_ANY
type_names['void'] = TYPE_NONE
-type_names['size_t'] = TYPE_SIZET
-type_names['ssize_t'] = TYPE_SSIZET
+
+# C unix types
type_names['off_t'] = TYPE_SIZET
-# FIXME - can we make libraries use GPid?
type_names['pid_t'] = TYPE_INT
+type_names['size_t'] = TYPE_SIZET
+type_names['ssize_t'] = TYPE_SSIZET
+type_names['socklen_t'] = TYPE_INT32
# Obj-C
type_names['id'] = TYPE_ANY
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]