mozilla
Your Search Results

    NPN_UTF8FromIdentifier

    Our volunteers haven't translated this article into Deutsch yet. Join us and help get the job done!

    « Gecko Plugin API Reference « Scripting plugins

    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().

    Document Tags and Contributors

    Schlagwörter: 
    Contributors to this page: Sheppy, Ben Karel
    Last updated by: Ben Karel,