summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-09-22 08:26:29 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-09-22 08:26:29 +0200
commitd96b7d767a1f7f8a5be37b80077e276bb174005f (patch)
treef0ad5330db2bed03b60908cde9d5da224ab8e915 /doc/classes
parent2d598bbf9aa47ab80300d64203af8ddd7e542bb0 (diff)
parent474cee7dafa4df94294de3e1c45e049defd7cfc5 (diff)
Merge pull request #66110 from Zylann/reference_get_count
get_reference_count()`
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/RefCounted.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/classes/RefCounted.xml b/doc/classes/RefCounted.xml
index 3daf3534b0..223e572254 100644
--- a/doc/classes/RefCounted.xml
+++ b/doc/classes/RefCounted.xml
@@ -13,6 +13,12 @@
<link title="When and how to avoid using nodes for everything">$DOCS_URL/tutorials/best_practices/node_alternatives.html</link>
</tutorials>
<methods>
+ <method name="get_reference_count" qualifiers="const">
+ <return type="int" />
+ <description>
+ Returns the current reference count.
+ </description>
+ </method>
<method name="init_ref">
<return type="bool" />
<description>