-Fixed post-import script-reload buf, fixes #1683
This commit is contained in:
parent
701335e845
commit
b66b86b05e
3 changed files with 14 additions and 3 deletions
|
|
@ -59,6 +59,10 @@ void Reference::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("unreference"),&Reference::unreference);
|
||||
}
|
||||
|
||||
int Reference::reference_get_count() const {
|
||||
return refcount.get();
|
||||
}
|
||||
|
||||
void Reference::reference(){
|
||||
|
||||
refcount.ref();
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@ public:
|
|||
bool init_ref();
|
||||
void reference();
|
||||
bool unreference();
|
||||
int reference_get_count() const;
|
||||
|
||||
Reference();
|
||||
~Reference();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue