summaryrefslogtreecommitdiff
path: root/rust
diff options
context:
space:
mode:
authorRubens Brandão <git@rubens.io>2026-03-24 01:49:34 -0300
committerGitHub <noreply@github.com>2026-03-23 21:49:34 -0700
commit75f4b939c656cc53ab7ecfb8b24af7fcb6961d10 (patch)
tree04a0258b4cf357b600c2d0d5ba6758e68fb31941 /rust
parent3feaf74969b5d855993842e204cab04fb9725165 (diff)
[Rust] impl Send and Sync to CoreLanguageRepresentationFunctionType (#8012)
Diffstat (limited to 'rust')
-rw-r--r--rust/src/language_representation.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/rust/src/language_representation.rs b/rust/src/language_representation.rs
index d39cb95f..470d67b0 100644
--- a/rust/src/language_representation.rs
+++ b/rust/src/language_representation.rs
@@ -123,6 +123,9 @@ pub struct CoreLanguageRepresentationFunctionType {
handle: NonNull<BNLanguageRepresentationFunctionType>,
}
+unsafe impl Send for CoreLanguageRepresentationFunctionType {}
+unsafe impl Sync for CoreLanguageRepresentationFunctionType {}
+
impl CoreLanguageRepresentationFunctionType {
pub(crate) unsafe fn from_raw(handle: NonNull<BNLanguageRepresentationFunctionType>) -> Self {
Self { handle }