Commit Graph
24 Commits
Author SHA1 Message Date
Marc Rousavy bc26711f21 replace is_same_v<T, void> -> is_void_v<T> 2024-07-30 13:51:39 +02:00
Marc Rousavy 0c0de8cbd3 feat: Try to cache jsi::Objects for HybridObjects 2024-07-30 09:48:07 +02:00
Marc Rousavy 68c7c2bfd8 fix: Make ~HybridObject virtual 2024-07-29 18:17:15 +02:00
Marc Rousavy a0c7caa2a8 fix: Properly get memory size including own cache map size 2024-07-23 01:34:44 +02:00
Marc Rousavy 565f613bb5 fix: Don't include C++ HybridObject size in memory size (it's already included) 2024-07-23 01:05:47 +02:00
Marc Rousavy 47800eca36 feat: Add memorySize to HybridObjects 2024-07-23 00:40:07 +02:00
Marc Rousavy 4257dedf64 Fix TYPEID 2024-07-22 16:31:33 +02:00
Marc Rousavy 46504a6094 Use HybridContext from cache if available 2024-07-22 16:10:28 +02:00
Marc Rousavy 54753bbd7d Successfully register hybrid objects!! woohoo 2024-07-22 02:06:12 +02:00
Marc Rousavy 756cd905e6 perf: Use contains instead of count 2024-07-17 23:32:01 +02:00
Marc Rousavy b5d832cf2d perf: Make all JSIConverter calls inline 2024-07-17 23:31:52 +02:00
Marc Rousavy 4262b7940e feat: Add name and equals methods to HybridObject 2024-07-17 23:24:10 +02:00
Marc Rousavy 77b0e9ddd2 Update HybridObject.hpp 2024-07-17 23:15:45 +02:00
Marc Rousavy 09b8dea251 FunctionCache -> JSICache 2024-07-17 23:14:25 +02:00
Marc Rousavy 7bc2767348 fix: Move to namespace margelo::nitro 2024-07-17 21:49:11 +02:00
Marc Rousavy 1b2ea4b1ac Move HybridContext into it's own file 2024-07-17 15:32:02 +02:00
Marc Rousavy eec426e433 feat: Create getHybridPart to move this logic 2024-07-17 13:47:26 +02:00
Marc Rousavy 3c0e96d81c Rename JSContext to HybridContext 2024-07-17 13:32:17 +02:00
Marc Rousavy 8240a03583 feat: Set JS Context in Swift 2024-07-17 13:27:21 +02:00
Marc Rousavy 19d3e848d5 fix: Make _mutex a unique ptr so it can be accessed from Swift 2024-07-16 18:30:05 +02:00
Marc Rousavy 3d932dbb06 Add func name 2024-06-23 12:07:58 +02:00
Marc Rousavy 6b68537fd5 Create Borrowing/Owning reference types 2024-06-23 11:26:33 +02:00
Marc Rousavy 166feb425f Create test object 2024-06-20 16:32:05 +02:00
Marc Rousavy 84b995e4eb Rename to .hpp 2024-06-20 10:41:09 +02:00