mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
14 lines
588 B
Python
14 lines
588 B
Python
$NetBSD: patch-mozilla_ipc_ipdl_ipdl_lower.py,v 1.1 2015/07/13 17:49:26 ryoon Exp $
|
|
|
|
--- mozilla/ipc/ipdl/ipdl/lower.py.orig 2014-07-18 00:05:24.000000000 +0000
|
|
+++ mozilla/ipc/ipdl/ipdl/lower.py
|
|
@@ -768,7 +768,7 @@ IPDL union type."""
|
|
if self.recursive:
|
|
return self.ptrToType()
|
|
else:
|
|
- return TypeArray(Type('char'), ExprSizeof(self.internalType()))
|
|
+ return TypeArray(Type('char'), ExprSizeof(self.internalType()), self.internalType())
|
|
|
|
def unionValue(self):
|
|
# NB: knows that Union's storage C union is named |mValue|
|