djinni-generator
djinni-generator copied to clipboard
Command-line tool that generates gluecode from a djinni-IDL file
Hi, This PR add support for WASM. Tested on my WASM applications. I only need help to: - Add tests that can be copied from here (if need): https://github.com/Snapchat/djinni/tree/master/test-suite -...
Previous switch from `nlohmann`-namespaced `adl_serializer(...)` method to putting the `from_json`/`to_json` in the same namespace as the json types can fall afoul of "Unused function from_json" warnings/errors when compiling with flags...
Hi, This is the list of Snapchat features and fixes: 1. Added move assigment operator to GlobalRef in all djinni_support.hpp files 2. Made JniClassInitializer constructor public to allow arbitrary additional...
There are at least 2 emacs djinni.el modes available * https://github.com/danielmartin/djinni-mode * https://github.com/finalpatch/djinni-mode/ differences as described by @finalpatch ``` Other than minor differences in syntax highlighting: His mode provides a...
Hi, We need investigate is the keyword "null" can be a correct value for optional. Example: ``` foo_data = record { label: optional; const empty: foo_data = { label =...
As a learning from #96 Since we plan to clean up the cli, we should have a way of making cli options and flag deprecated, so if they are used...
It seems the python generator does not make use of the `--cpp-include-prefix` when writeing including files in the generated C wrapper, but only includes the base file name. This breaks...
If the C wrapper generation is enabled when trying to consume a record defined in another module the generator will run into an exception ``` Exception in thread "main" scala.NotImplementedError:...
Raising a draft PR for review and suggestions.
I felt quite inspired by @eakoli 's latest contribution. I'm not sure there's the appetite for this, but at least on my projects, if I'm using djinni in the future...