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

标签:
Contributors to this page: Sheppy
最后编辑者: Sheppy,