Commit Graph
13 Commits
Author SHA1 Message Date
Marc RousavyandGitHub 6dbb34f9d3 fix: Add NON_NULL, NULLABLE and CONTIGUOUS_MEMORY annotations on pointers (#902)
* chore: Add `NON_NULL` and `NULLABLE` annotations on all pointers

* feat: Add `CONTIGUOUS_MEMORY` and `NON_NULL`

* Create `InstanceMethod<...>`

* chore: Use `InstanceMethod<...>`
2025-09-26 13:45:54 +02:00
Marc RousavyandGitHub ea2c0709fc feat: Use std::shared_ptr<Promise<T>> instead of std::future<T> for callbacks that return a value (#412)
* feat: Use `std::shared_ptr<Promise<T>>` instead of `std::future<T>` for callbacks that return a value

* Update FunctionType.ts

* chore: Lint

* Update Dispatcher.hpp

* chore: Update Podfile.lock
2024-12-10 15:30:30 +01:00
Marc Rousavy a522f09327 fix: Put template<...> on a separate line 2024-08-02 12:37:03 +02:00
Marc Rousavy bc26711f21 replace is_same_v<T, void> -> is_void_v<T> 2024-07-30 13:51:39 +02:00
Marc Rousavy fff62048f7 fix: Fix void comparison 2024-07-30 13:50:23 +02:00
Marc Rousavy 039f745e6a fix: Try fixing runAsyncAwaitable 2024-07-30 13:43:54 +02:00
Marc Rousavy 2ee6e14da7 fix: Fix dispatcher lambda not mutable on promise 2024-07-30 13:00:46 +02:00
Marc Rousavy e6f84bee16 fix: Fix JS callbacks not using Dispatcher!!!!!
lol this broke a lot I cant believe I didnt catch this
2024-07-30 12:17:22 +02:00
Marc Rousavy 3e0279a71f feat: Create JSICacheReference for safer cache access 2024-07-30 11:41:01 +02:00
Marc Rousavy 7bc2767348 fix: Move to namespace margelo::nitro 2024-07-17 21:49:11 +02:00
Marc Rousavy a6b69b309a perf: Speed up Dispatcher get calls 2024-06-23 12:27:04 +02:00
Marc Rousavy 2bc02c0f6f A ton of improvements around jsi::Runtime safe code. 2024-06-20 16:20:13 +02:00
Marc Rousavy 84b995e4eb Rename to .hpp 2024-06-20 10:41:09 +02:00