NPN_GetStringIdentifier

« Gecko Plugin API Reference « Scripting plugins

Summary

Returns an opaque identifier for the string that is passed in.

Syntax

#include <npruntime.h>

NPIdentifier NPN_GetStringIdentifier(const NPUTF8 *name);

Parameters

The function has the following parameters:

<tt>name</tt>
The string for which an opaque identifier should be returned.

Returns

An NPIdentifier identifying the string.

Description

All calls for the same string are guaranteed to return the same exact identifier.