From c5c155b7b51d43abbd2628f5220264e0659ad83c Mon Sep 17 00:00:00 2001 From: "alecf%netscape.com" Date: Fri, 26 Feb 1999 17:57:34 +0000 Subject: [PATCH] add nsIEnumerator interface, and fix nsICollection interface to use long not int --- xpcom/ds/nsICollection.idl | 2 +- xpcom/idl/Makefile.in | 1 + xpcom/idl/nsICollection.idl | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/xpcom/ds/nsICollection.idl b/xpcom/ds/nsICollection.idl index 8556cc82ce91..d4663451abed 100644 --- a/xpcom/ds/nsICollection.idl +++ b/xpcom/ds/nsICollection.idl @@ -22,7 +22,7 @@ [uuid(83b6019c-cbc4-11d2-8cca-0060b0fc14a3)] interface nsICollection : nsISupports { - readonly attribute unsigned int count; // XXX wrong + readonly attribute unsigned long count; // XXX wrong void AppendElement(in nsISupports element); void RemoveElement(in nsISupports element); diff --git a/xpcom/idl/Makefile.in b/xpcom/idl/Makefile.in index cd721c8d2a62..9eb2c950a4ed 100644 --- a/xpcom/idl/Makefile.in +++ b/xpcom/idl/Makefile.in @@ -30,6 +30,7 @@ IDLSRCS = \ nsIBaseStream.idl \ nsIInputStream.idl \ nsICollection.idl \ + nsIEnumerator.idl \ $(NULL) # for testing purposes diff --git a/xpcom/idl/nsICollection.idl b/xpcom/idl/nsICollection.idl index 8556cc82ce91..d4663451abed 100644 --- a/xpcom/idl/nsICollection.idl +++ b/xpcom/idl/nsICollection.idl @@ -22,7 +22,7 @@ [uuid(83b6019c-cbc4-11d2-8cca-0060b0fc14a3)] interface nsICollection : nsISupports { - readonly attribute unsigned int count; // XXX wrong + readonly attribute unsigned long count; // XXX wrong void AppendElement(in nsISupports element); void RemoveElement(in nsISupports element);