Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

NPN_ReleaseObject

« Gecko Plugin API Reference « Scripting plugins

Summary

Decrements the reference count of the given NPObject. If the reference count reaches 0, the NPObject is deallocated by calling its deallocate function if one is provided; if one is not provided, free() is used.

Syntax

#include <npruntime.h>
 
void NPN_ReleaseObject(NPObject *npobj);

Parameters

The function has the following parameter:

<tt>npobj</tt>
The NPObject whose reference count should be decremented.

Returns

Nothing.

Document Tags and Contributors

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