feat: define Sync, Send for Node and TreeCursor types

This commit is contained in:
Andrew Hlynskyi 2023-07-22 17:39:17 +03:00
parent 0f533b909d
commit 1fbe929ad9

View file

@ -2644,6 +2644,9 @@ impl error::Error for QueryError {}
unsafe impl Send for Language {}
unsafe impl Sync for Language {}
unsafe impl Send for Node<'_> {}
unsafe impl Sync for Node<'_> {}
unsafe impl Send for Parser {}
unsafe impl Sync for Parser {}
@ -2655,3 +2658,6 @@ unsafe impl Sync for QueryCursor {}
unsafe impl Send for Tree {}
unsafe impl Sync for Tree {}
unsafe impl Send for TreeCursor<'_> {}
unsafe impl Sync for TreeCursor<'_> {}