diff options
author | David Tolnay <dtolnay@gmail.com> | 2020-12-28 17:09:48 -0800 |
---|---|---|
committer | David Tolnay <dtolnay@gmail.com> | 2020-12-28 17:41:20 -0800 |
commit | 215e77fbec91468f294ea372f7c5524ed890de65 (patch) | |
tree | 73fdfa32580be49721a028616cb6961ec90b09f2 /syntax/pod.rs | |
parent | cd1430c5ef65932a24c7fd2fd478db16a8cb19e1 (diff) | |
download | cxx-215e77fbec91468f294ea372f7c5524ed890de65.tar.gz |
Add Rust std::weak_ptr binding
Diffstat (limited to 'syntax/pod.rs')
-rw-r--r-- | syntax/pod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/syntax/pod.rs b/syntax/pod.rs index d808a99a..e1c48313 100644 --- a/syntax/pod.rs +++ b/syntax/pod.rs @@ -26,6 +26,7 @@ impl<'a> Types<'a> { | Type::RustVec(_) | Type::UniquePtr(_) | Type::SharedPtr(_) + | Type::WeakPtr(_) | Type::CxxVector(_) | Type::Void(_) => false, Type::Ref(_) | Type::Str(_) | Type::Fn(_) | Type::SliceRef(_) => true, |