Skip to content

v1.0.0

Compare
Choose a tag to compare
@jothepro jothepro released this 07 May 10:10
· 53 commits to main since this release
2438082

Added

  • New --jni-generate-main parameter. The paramater, if true, generates a file djinni_jni_main.cpp that includes the djinni/jni/djinni_jni_main.hpp header provided by djinni-support-lib. That way by default the user automatically gets a default JNI_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.