servo/components/servo_arc
Emilio Cobos Álvarez d1046739fc style: Remove some magic from the bindings
This simplifies a tiny bit our bindings in some places, and complicates
it in others, but over all I think it's better.

It requires a bit more manual code in the rust side to drop and cast the
relevant pointers (which was done implicitly before), but it's a lot
less magic than it used to be, and that's all autogenerated so consumers
don't need to care about it.

The set up is still not ideal. I don't like that we rely on destructors
running in both sides of the FFI boundary, but that's for another day.

This is the last usage of RawOffsetArc, so remove that. We now support
proper Arc<> in structs (GridTemplateAreas uses it), so I don't think
we'll need it any time soon.

Differential Revision: https://phabricator.services.mozilla.com/D177905
2023-11-24 08:57:14 +01:00
..
Cargo.toml Start the transition to workspace dependencies 2023-05-17 11:59:35 +02:00
lib.rs style: Remove some magic from the bindings 2023-11-24 08:57:14 +01:00
LICENSE-APACHE Add apache license to servo_arc. 2022-09-06 09:11:48 -04:00
LICENSE-MIT Add MIT license to servo_arc. 2022-09-06 09:12:24 -04:00
rustfmt.toml Disable formatting for malloc_size_of, servo_arc, to_shmem 2023-11-21 15:36:35 +01:00