From 074785cea106179cb3305637055ab0a009ca74f2 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:52 -0500 Subject: initial commit --- files/pt-pt/ns_release/index.html | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 files/pt-pt/ns_release/index.html (limited to 'files/pt-pt/ns_release/index.html') diff --git a/files/pt-pt/ns_release/index.html b/files/pt-pt/ns_release/index.html new file mode 100644 index 0000000000..81b72e6b71 --- /dev/null +++ b/files/pt-pt/ns_release/index.html @@ -0,0 +1,21 @@ +--- +title: NS_RELEASE +slug: NS_RELEASE +tags: + - Macros_XPCOM + - XPCOM +translation_of: Mozilla/Tech/XPCOM/Reference/NS_RELEASE +--- +

 

+

Sumário

+

Macro

+

Decrementa o contador de referência de um apontador por um. Esta macro também define o apontador para NULL. Não usar quando o apontador possa ser NULL; use NS_IF_RELEASE nos outros casos.

+

NS_RELEASE(foo) equivale a

+
foo->Release();
+foo = 0;
+
+

Sintaxe

+
NS_RELEASE(foo);
+
+

Ver Também

+

NS_ADDREF, NS_IF_RELEASE

-- cgit v1.2.3-54-g00ecf