Hello, I am trying to develop an XPCOM component that has read only attributes of type nsIMutableArray. However, I am unable to create code to instantiate objects of that type. I tried:
do_CreateInstance(NS_ARRAY_CONTRACTID) (error: incomplete type 'nsIMutableArray' used in nested name specifier) and res = NS_NewArray(getter_AddRefs(m_mymutablearray)); (error: NS_NewArray is not defined) I am using gecko-sdk 1.8 Can somebody provide an example of doing that? Thanks in advance _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
