AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
Entry:     JS_AliasProperty (Function)
Summary:     Deprecated. Create an alias for a native property.
Syntax:
JSBool JS_AliasProperty(JSContext *cx, JSObject *obj,
const char *name, const char *alias);

     Argument     Type     Description
     cx     JSContext *     Pointer to a JS context from which to derive runtime information.
                 
     obj     JSObject *     Object for which to create the alias.
                 
     name     const char *     Name of the property for which to create an alias.
                 
     alias     const char *     Alias name to assign to the property.
                 
Description:
JS_AliasProperty assigns an alternate name for a property associated with a native object. obj is the object to which the property belongs. name is the property's current name in the object, and alias is the alternate name to assign to the property.


See also:
JS_DefineProperty
JS_DefinePropertyWithTinyId
JS_DefineUCProperty
JS_DefineUCPropertyWithTinyID
JS_DeleteProperty
JS_GetProperty
JS_LookupProperty
JS_SetProperty

[sh-index] Back to list of manuals