Back to index

lightning-sunbird  0.9+nobinonly
Functions
MacJawt.mm File Reference
#include <jni.h>
#import <JavaVM/jawt_md.h>
#include "prtypes.h"

Go to the source code of this file.

Functions

PRUint64 GetPlatformHandle (JAWT_DrawingSurfaceInfo *dsi)

Function Documentation

PRUint64 GetPlatformHandle ( JAWT_DrawingSurfaceInfo *  dsi)

Definition at line 42 of file MacJawt.mm.

{
    JAWT_MacOSXDrawingSurfaceInfo* dsi_mac =
        static_cast<JAWT_MacOSXDrawingSurfaceInfo*> (dsi->platformInfo);
    return reinterpret_cast<PRUint64> (dsi_mac->cocoaViewRef);
}

Here is the caller graph for this function: