Skip to content

Commit 8d96f86

Browse files
committed
ref_count documentation
1 parent d956d77 commit 8d96f86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/value.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,7 @@ impl<'js> Value<'js> {
357357
T::from_js(self.ctx, self.clone())
358358
}
359359

360+
/// Get reference count of value
360361
#[inline]
361362
pub fn ref_count(&self) -> i32 {
362363
unsafe { qjs::JS_ValueRefCount(self.value) }

0 commit comments

Comments
 (0)