Mozilla.com

  1. MDC
  2. Main Page
  3. NPN_ReleaseObject
Table of contents
  1. 1. Summary
  2. 2. Syntax
  3. 3. Parameters
  4. 4. Returns

NPN_ReleaseObject

Table of contents
  1. 1. Summary
  2. 2. Syntax
  3. 3. Parameters
  4. 4. Returns

« 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:

npobj
The NPObject whose reference count should be decremented.

Returns

Nothing.

Page last modified 20:53, 9 Feb 2007 by Sheppy

Tags:

Files (0)