summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/dcom.idl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-05-27 15:49:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:07 -0500
commit50d2bf00660c8c2c12cd1ea40b2212aa8250e611 (patch)
treeacdc803745c2e09bc4c5325c3c02226ab4930486 /source4/librpc/idl/dcom.idl
parent38c2164f68514727140270821c569a106b705997 (diff)
downloadsamba-50d2bf00660c8c2c12cd1ea40b2212aa8250e611.tar.gz
samba-50d2bf00660c8c2c12cd1ea40b2212aa8250e611.tar.bz2
samba-50d2bf00660c8c2c12cd1ea40b2212aa8250e611.zip
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)
Diffstat (limited to 'source4/librpc/idl/dcom.idl')
-rw-r--r--source4/librpc/idl/dcom.idl16
1 files changed, 8 insertions, 8 deletions
diff --git a/source4/librpc/idl/dcom.idl b/source4/librpc/idl/dcom.idl
index f8db720817..2a67007029 100644
--- a/source4/librpc/idl/dcom.idl
+++ b/source4/librpc/idl/dcom.idl
@@ -92,8 +92,8 @@ interface IRemUnknown : IUnknown
[in] GUID *ripid, /* interface to QI on */
[in] uint32 cRefs, /* count of AddRefs requested */
[in] uint16 cIids, /* count of IIDs that follow */
- [in, size_is(cIids)] GUID *iids[], /* IIDs to QI for */
- [out, size_is(cIids)] MInterfacePointer *ip[]
+ [in, size_is(cIids)] GUID *iids, /* IIDs to QI for */
+ [out, size_is(cIids)] MInterfacePointer *ip
);
typedef struct
@@ -106,7 +106,7 @@ interface IRemUnknown : IUnknown
[call_as(AddRef)] WERROR RemAddRef (
[in] uint16 cInterfaceRefs,
[in, size_is(cInterfaceRefs)] REMINTERFACEREF InterfaceRefs[],
- [out, size_is(cInterfaceRefs)] WERROR *pResults[]
+ [out, size_is(cInterfaceRefs)] WERROR *pResults
);
[call_as(Release)] WERROR RemRelease (
@@ -191,9 +191,9 @@ interface IRemUnknown2 : IRemUnknown
[call_as(QueryInterface2)] WERROR RemQueryInterface2 (
[in] GUID *ripid,
[in] uint16 cIids,
- [in, size_is(cIids)] GUID *iids[],
- [out, size_is(cIids)] WERROR *phr[],
- [out, size_is(cIids)] MInterfacePointer *ppMIF[]
+ [in, size_is(cIids)] GUID *iids,
+ [out, size_is(cIids)] WERROR *phr,
+ [out, size_is(cIids)] MInterfacePointer *ppMIF
);
}
@@ -236,7 +236,7 @@ interface IRemUnknown2 : IRemUnknown
/*FIXME[in,size_is(cNames)] OLESTR *rgszNames[], */
[in] uint16 cNames,
[in] uint32 lcid,
- [out,size_is(cNames)] uint32 *rgDispId[]);
+ [out,size_is(cNames)] uint32 *rgDispId);
typedef struct {
uint16 vartype;
@@ -311,7 +311,7 @@ interface IStream : IUnknown
);
WERROR Write(
- [in,size_is(num_requested)] uint8 *data[],
+ [in,size_is(num_requested)] uint8 *data,
[in] uint32 num_requested,
[out] uint32 num_written);
}