You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.
nsISupportsPrimitives
The following are a group of interfaces that provide
nsISupports
wrappers for single primitive pieces of data. The individual interfaces all derive from thensISupportsPrimitives
parent. All of them are scriptable.Note: The first three are pointer types and do data copying using
nsIMemory
. Be careful!Values for
type
attribute below.Scriptable storage for nsID structures. This type is a pointer.
Method
Attribute
Scriptable storage for ASCII strings. This type is a pointer.
Method
Attribute
Scriptable storage for Unicode strings. This type is a pointer.
Method
Attribute
Scriptable storage for booleans. This type is a primitive and is passed by value.
Method
Attribute
Scriptable storage for 8-bit integers. This type is a primitive and is passed by value.
Method
Attribute
Scriptable storage for unsigned 16-bit integers. This type is a primitive and is passed by value.
Method
Attribute
Scriptable storage for unsigned 32-bit integers. This type is a primitive and is passed by value.
Method
Attribute
Scriptable storage for unsigned 64-bit integers. This type is a primitive and is passed by value.
Method
Attribute
Scriptable storage for NSPR date/time values. This type is a primitive and is passed by value.
Method
Attribute
Scriptable storage for single character values. This type is a primitive and is passed by value.
Method
Attribute
Scriptable storage for 16-bit integers. This type is a primitive and is passed by value.
Method
Attribute
Scriptable storage for 32-bit integers. This type is a primitive and is passed by value.
Method
Attribute
Scriptable storage for 64-bit integers. This type is a primitive and is passed by value.
Method
Attribute
Scriptable storage for floating point numbers. This type is a primitive and is passed by value.
Method
Attribute
Scriptable storage for doubles. This type is a primitive and is passed by value.
Method
Attribute
Scriptable storage for generic pointers.
Method
Attribute
Scriptable storage for other XPCOM objects.
Method
Attributes
Written by:Ellen Evans | Comments, questions, complaints?
Bug 143387 |