8000 Add some missing FFI safe types (fr) by polazarus · Pull Request #47 · ANSSI-FR/rust-guide · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add some missing FFI safe types (fr) #47

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 18, 2025

Conversation

polazarus
Copy link
Contributor

Translation of pull request #42

Comment on lines +136 to +143
- les pointeurs ;
- les `Option<T>` où `T` est:
- `core::ptr::NonNull<U>` et `U` est un type compatible avec le C et `Sized`,
auquel cas le type est équivalent à un pointeur `*const T` et `*mut T`,
- `core::num::NonZero*`, auquel cas le type est équivalent au type primitif
entier correspondant ;
- les `struct`s annotées avec `repr(transparent)` possédant un seul champ, qui
est d'un type C-compatible.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

écrire la version anglaise

@pb-anssi pb-anssi merged commit 82678ae into ANSSI-FR:master Jun 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0