NPN_IntFromIdentifier

« Gecko Plugin API Reference « Scripting plugins

Summary

Returns the integer value corresponding to the given integer identifier.

Syntax

#include <npruntime.h>
int32_t NPN_IntFromIdentifier(NPIdentifier identifier);

Parameters

The function has the following parameter:

<tt>identifier</tt>
The integer identifier whose corresponding integer value should be returned.

Returns

An integer corresponding to the specified <tt>identifier</tt>.

Note: The behavior of this function is undefined if <tt>identifier</tt> isn't an integer identifier.

Document Tags and Contributors

Tags: 
 Contributors to this page: teoli, Sheppy, Nickolay
 Last updated by: teoli,