Summary
Returns the UTF-8 string corresponding to the given string identifier.
Syntax
#include <npruntime.h> NPUTF8 *NPN_UTF8FromIdentifier(NPIdentifier identifier);
Parameters
The function has the following parameter:
- <tt>identifier</tt>
- The string identifier whose corresponding string should be returned.
Returns
A UTF-8 string as a sequence of NPUTF8
bytes, or NULL if the specified <tt>identifier</tt> isn't a string identifier.
Description
Once the caller is done with the returned string, the caller is responsible for deallocating the memory used by the string by calling NPN_MemFree()
.