Back to index

lightning-sunbird  0.9+nobinonly
Functions
xpcinlines.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

JSBool xpc_ForcePropertyResolve (JSContext *cx, JSObject *obj, jsval idval)
JSBool ThrowBadParam (nsresult rv, uintN paramNum, XPCCallContext &ccx)
void ThrowBadResult (nsresult result, XPCCallContext &ccx)

Function Documentation

JSBool ThrowBadParam ( nsresult  rv,
uintN  paramNum,
XPCCallContext ccx 
) [inline]

Definition at line 712 of file xpcinlines.h.

{
    XPCThrower::ThrowBadParam(rv, paramNum, ccx);
    return JS_FALSE;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void ThrowBadResult ( nsresult  result,
XPCCallContext ccx 
) [inline]

Definition at line 719 of file xpcinlines.h.

Here is the call graph for this function:

Here is the caller graph for this function:

JSBool xpc_ForcePropertyResolve ( JSContext cx,
JSObject obj,
jsval  idval 
) [inline]

Definition at line 697 of file xpcinlines.h.

{
    JSProperty* prop;
    JSObject* obj2;
    jsid id;    

    if(!JS_ValueToId(cx, idval, &id) ||
       !OBJ_LOOKUP_PROPERTY(cx, obj, id, &obj2, &prop))
        return JS_FALSE;
    if(prop)
        OBJ_DROP_PROPERTY(cx, obj2, prop);
    return JS_TRUE;
}

Here is the call graph for this function:

Here is the caller graph for this function: