From 50d2bf00660c8c2c12cd1ea40b2212aa8250e611 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 27 May 2005 15:49:15 +0000 Subject: r7029: Make array support in pidl similar to that in other IDL compilers. We should now able to use constructions like these: [size_is(20)] int *x; -> Pointer to array of 20 ints [size_is(20)] int x[]; -> Array of 20 ints [size_is(20)] int *x[]; -> Array of 20 pointers to ints [size_is(20,)] int *x[] -> Array of 20 pointers to ints [size_is(,20)] int *x[]; -> Pointer to array of 20 ints [size_is(,20)] int **x; -> Pointer to pointer to array of 20 ints [size_is(20)] int x[][30]; -> 20 blocks of 30 ints (This used to be commit ecf583da71c2f80be124c17fccdcb284b47e0695) --- source4/librpc/idl/spoolss.idl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/librpc/idl/spoolss.idl') diff --git a/source4/librpc/idl/spoolss.idl b/source4/librpc/idl/spoolss.idl index 0693d3c3c4..e496b2b5c6 100644 --- a/source4/librpc/idl/spoolss.idl +++ b/source4/librpc/idl/spoolss.idl @@ -957,14 +957,14 @@ uint32 u3; uint32 u4; uint32 count; - [size_is(count)] uint16 *array[]; + [size_is(count)] uint16 *array; } spoolss_RemoteFindFirstPrinterChangeNotifyEx_t2; typedef struct { uint32 u1; uint32 u2; uint32 count; - [size_is(count)] spoolss_RemoteFindFirstPrinterChangeNotifyEx_t2 *t2[]; + [size_is(count)] spoolss_RemoteFindFirstPrinterChangeNotifyEx_t2 *t2; } spoolss_RemoteFindFirstPrinterChangeNotifyEx_t1; WERROR spoolss_RemoteFindFirstPrinterChangeNotifyEx( -- cgit