Visit Mozilla.org

NPN RetainObject

From MDC


« Gecko Plugin API Reference « Scripting plugins

Contents

[edit] Summary

Increments the reference count of the given NPObject.

[edit] Syntax

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

[edit] Parameters

The function has the following parameter:

npobj
The NPObject to retain.

[edit] Returns

A pointer back to the same object.