Back to index

lightning-sunbird  0.9+nobinonly
Functions | Variables
nsLiveConnect.cpp File Reference
#include "nsLiveconnect.h"
#include "MRJMonitor.h"
#include "MRJPlugin.h"
#include "nsIPluginManager.h"
#include <string.h>

Go to the source code of this file.


static char * u2c (const jchar *ustr, jsize length)


const char * kJavaScriptPrefix = "javascript:"

Function Documentation

static char* u2c ( const jchar ustr,
jsize  length 
) [static]

Definition at line 67 of file nsLiveConnect.cpp.

    char* result = new char[length + 1];
    if (result != NULL) {
        char* cstr = result;
        while (length-- > 0) {
            *cstr++ = (char) *ustr++;
        *cstr = '\0';
    return result;

Here is the caller graph for this function:

Variable Documentation

const char* kJavaScriptPrefix = "javascript:"

Definition at line 80 of file nsLiveConnect.cpp.

Definition at line 538 of file badapter.cpp.