projects
/
platform
/
upstream
/
gobject-introspection.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
869de2e
)
Further cleanup for commented-out Union discriminator handling
author
Colin Walters
<walters@verbum.org>
Thu, 19 Feb 2009 16:18:48 +0000
(11:18 -0500)
committer
Colin Walters
<walters@verbum.org>
Thu, 19 Feb 2009 16:18:48 +0000
(11:18 -0500)
girepository/girnode.c
patch
|
blob
|
history
diff --git
a/girepository/girnode.c
b/girepository/girnode.c
index 744f908a17e007aab44eeb3d6995e549a75a4ae8..6400da937e3732322267358c26132632a767a678 100644
(file)
--- a/
girepository/girnode.c
+++ b/
girepository/girnode.c
@@
-1910,6
+1910,7
@@
g_ir_node_build_typelib (GIrNode *node,
blob->discriminator_offset = union_->discriminator_offset;
/* We don't support Union discriminators right now. */
+ /*
if (union_->discriminator_type)
{
*offset += 28;
@@
-1918,14
+1919,8
@@
g_ir_node_build_typelib (GIrNode *node,
module, modules, strings, types,
data, offset, offset2);
}
- /* Always do the non-discriminated case */
- /*
else
{
- *offset += 32;
- blob->discriminated = FALSE;
- blob->discriminator_type.offset = 0;
- }
*/
*offset += sizeof (UnionBlob);
blob->discriminated = FALSE;