Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0000c11

Browse files
committed
Add weak reference comparisons
1 parent091ae98 commit0000c11

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎flutter-engine/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ impl FlutterEngineWeakRef {
7373
pubfnis_valid(&self) ->bool{
7474
self.upgrade().is_some()
7575
}
76+
77+
pubfnptr_equal(&self,other:Self) ->bool{
78+
self.inner.ptr_eq(&other.inner)
79+
}
7680
}
7781

7882
implDefaultforFlutterEngineWeakRef{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp