Any examples?
Python has full support for variants - just pass a Python
string/int/etc to a method requiring an nsIVariant and it will be
converted. If you implement an interface taking an nsIVariant, it will
be converted to a Python object. The test suite demonstrates this.
Mark
Where i find the test suite?
In the python/xpcom/test directory in the source tree -
http://lxr.mozilla.org/seamonkey/source/extensions/python/xpcom/test
Mark
thanks