Skip to content

Instantly share code, notes, and snippets.

View rzfury's full-sized avatar
🎮
Gaming

RZFury rzfury

🎮
Gaming
View GitHub Profile
/**
* This is a patch wrapper for the React Native `reanimated-bottom-sheet`.
*
* Problems solved:
* - onCloseEnd was firing as soon as the sheet's mounted, even before its opening. https://github.com/osdnk/react-native-reanimated-bottom-sheet/issues/136
* - onCloseEnd was not firing on repeated closings. https://github.com/osdnk/react-native-reanimated-bottom-sheet/issues/183
* - Other open/close events were silent sometimes.
*
* How to use:
* 1. Make sure you have the imported below modules installed.
@zbraniecki
zbraniecki / README.md
Last active April 7, 2024 04:42
Rust <--> C/C++ FFI for newbies

As Gecko is moving toward more Rust code, the cases where Rust and C code interoperate will become more common.

This document is an attempt to ease the learning curve for engineers facing it for the first time. It assumes no prior experience with cross-language C interfaces (called FFI).

It also assumes that Rust code is already built into Gecko. If you need help with that, read Introducing Rust code in Firefox.

What can you transfer across the fence