示例#1
0
NPUTF8 *NPN_UTF8FromIdentifier(NPIdentifier identifier)
{
    char msg[1024];
    sprintf(msg, "NPN_Enumerate");
    logger->logMessage(msg);

    NPUTF8 *rv = NPNFuncs.utf8fromidentifier(identifier);

    sprintf(msg, "--Return: %x", rv);
    logger->logMessage(msg);

    return rv;
}
NPUTF8 *NPN_UTF8FromIdentifier(NPIdentifier identifier)
{
  return NPNFuncs.utf8fromidentifier(identifier);
}