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: teoli,