References:
In-Reply-To:
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID:
Lines: 12
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 24.6.120.178
X-AuthenticatedUsername: NoAuthUser
X-Trace: sv3-e3tj+ItjD5oXB85mMkAcLvb76q8vZFohyxclUKVx4tu+n00adi ry2uW7nxES+6yA9bp4P/ApFB17uSA!E9LgO73VKX/RSuwQWBbbeDK7GdUXQFTcSnNN6LYTurdPpiKqRSNht/5KQrkFaJXsZ8JXX9JcKsgP!crCfEazl+GI=
X-Complaints-To: abuse@mozilla.org
X-DMCA-Complaints-To: abuse@mozilla.org
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.39
Bytes: 1742
X-Original-Bytes: 1699
Xref: number.nntp.dca.giganews.com mozilla.dev.extensions:10694

Subrata Mazumdar wrote:
> Hi,
> I have a set of complex Javascript objects with inheritance and deep
> nesting.
> I would like to provide XPCOM IDL based interface for top-level objects.
> How do I define type for Javascript object in XPCOM IDL? Are there any
> examples?


Will the objects be used by Javascript? Then don't bother, use the
wrappedJSObject trick.

jjb