v1.0.0
Added
- New
--jni-generate-main
parameter. The paramater, iftrue
, generates a filedjinni_jni_main.cpp
that includes thedjinni/jni/djinni_jni_main.hpp
header provided by djinni-support-lib. That way by default the user automatically gets a defaultJNI_OnLoad
implementation if he builds a shared library from all generated sources.
This requires the djinni-support-lib v1.0.0, that comes with the required header file. (#49) - Modularization documentation from dropbox/djinni is now available on djinni.xlcpp.dev
Fixed
- YAML type definitions are not required to include definitions for all possible target languages any more. If the YAML misses a target language that is required for generation, it will now fail gracefully. (#48)
Why is this a major release?
The new parameter --jni-generate-main
is enabled by default, which may break existing setups. If you don't want to use the new mechanism, disable it and everything should be as it was before.