Function js::jsapi::DescribeScriptedCaller [] [src]

pub unsafe extern "C" fn DescribeScriptedCaller(
    cx: *mut JSContext,
    filename: *mut AutoFilename,
    lineno: *mut c_uint,
    column: *mut c_uint
) -> bool

Return the current filename, line number and column number of the most currently running frame. Returns true if a scripted frame was found, false otherwise.

If a the embedding has hidden the scripted caller for the topmost activation record, this will also return false.