djinni
djinni copied to clipboard
A tool for generating cross-language type declarations and interface bindings. Djinni's new home is in the Snapchat org.
I'm trying to disable C++ exception translation in ObjC because I want to see the original C++ stack. However, when the stack is thrown to the ObjC layer, it will...
It check java files to be generated and if have only methods to be implemented, change final file to an `interface` instead of `abstract class`. We can also add a...
Generate interface instead of abstract class for Java This is a featured, but not an emergency. I will put it here only to we know that it can be done...
## Problem If we call .then() on a djinni future, it returns a promise. If the handler function passed into then() throws, the exception is caught and used to reject...
We have code in DataView_wasm.hpp and djinni_wasm.cpp that creates a JS Uint8Array view of memory on the wasm heap: ``` static auto uint8ArrayClass = em::val::global("Uint8Array"); unsigned addr = reinterpret_cast(buffer.data()); unsigned...
Currently `future` type requires a non-void type, because `void` is not a valid Djinni type. This means the IDL cannot represent a future with no value, but only a completion...
Native C++ concurrent libraries often result in std::futures being returned. However, there's no way to convert this to a Djinni Future when implementing a Djinni interface that returns a Djinni...
Using `namespace ns1::ns2::ns3 {` instead of `namespace ns1 { namespace ns2 { namespace ns3 {` which slightly simplifies codegen and makes the code conformant with [modernize-concat-nested-namespaces](https://clang.llvm.org/extra/clang-tidy/checks/modernize/concat-nested-namespaces.html) clang-tidy check.
ERROR: /Users/lichunyu/work/djinni-main/WORKSPACE:13:23: fetching android_ndk_repository rule //external:androidndk: java.io.IOException: Could not read RELEASE.TXT in Android NDK: /Users/lichunyu/Library/Android/sdk/ndk/RELEASE.TXT (No such file or directory) Unable to read the Android NDK at /Users/lichunyu/Library/Android/sdk/ndk, the path...
Hi there, We got some report that djinni::jniFindClass will crash sometimes while it is called by native thread. However, the thing is that we couldn't repro this issue and find...