- 13 Jul, 2015 7 commits
-
-
Miro Knejp authored
This demonstrates some fancy template usage to provide a std::chrono::duration<rep, period> capable external type. It is mapped to NSTimeInterval and java.time.Duration. It can be used after importing "duration.yaml" as follows: - duration<i32, s> => std::chrono::duration<i32, std::ratio<1>> - duration<f64, ns> => std::chrono::duration<double, std::nano>
-
Miro Knejp authored
This is a demonstration that the generator can be further simplified by moving types which do not require dedicated generator magic to externally declared types.
-
Miro Knejp authored
-
Miro Knejp authored
These YAML files generated by Djinni hold all the necessary information to integrate these types with other Djinni projects, thus making (precompiled) libraries with possible. There are still limitations: - Extern enums/records cannot be used as constants as their enumerant/field information is not yet preserved. - Include paths are fixed at the point of YAML generation, including paths do Djinni's support-lib. This may require some form of placeholders, or being smart about project structure in general. Generation is controlled with following options - --yaml-out: The output folder for YAML files (Generator disabled if unspecified). - --yaml-out-file: If specified all types are merged into a single YAML file instead of generating one file per type (relative to --yaml-out). - --yaml-prefix: The prefix to add to type names stored in YAML files (default: "").
-
Miro Knejp authored
-
Miro Knejp authored
-
Miro Knejp authored
Marshals use the respective members to resolve typenames, signatures, parameter types etc. All names in MExtern are expected to be fully qualified.
-
- 10 Jul, 2015 4 commits
-
-
Miro Knejp authored
fixes #105
-
Miro Knejp authored
fixes #107
-
j4cbo authored
Adding more Android error troubleshooting to example readme
-
Jacob Potter authored
-
- 08 Jul, 2015 1 commit
-
-
Stephen Spann authored
-
- 26 Jun, 2015 6 commits
-
-
Andrew Twyman authored
failonerror defaults to false on exec and java rules in ant.
-
Andrew Twyman authored
Add Date type (pointed out by Iulia). Correctly state that our sets are also unordered (pointed out by Josh G).
-
Andrew Twyman authored
Comment in shell script explains why.
-
Andrew Twyman authored
Makes things more convenient for scripts to use.
-
Iulia Tamas authored
Added support for command line arguments that request that the input (dependencies) files are printed out, or that the output (to-be-generated) files are printed out.
-
Danny Weinberg authored
Add a hashCode implementation in Java when deriving the eq function. This is also good practice in general. Avoid referencing rawtypes when deriving the ord function. Fix nullity annotation of parameter to compareTo method.
-
- 24 Jun, 2015 1 commit
-
-
j4cbo authored
Cast handle
-
- 21 Jun, 2015 2 commits
-
-
Steven Dee authored
-
Steven Dee authored
This prevents Djinni-generated code from causing warnings when compiled with -Wstrict-selector-match.
-
- 10 Jun, 2015 2 commits
-
-
j4cbo authored
Add missing float suffix to cpp constants
-
Miro Knejp authored
-
- 09 Jun, 2015 4 commits
-
-
Jacob Potter authored
-
Iulia Tamas authored
Summary: Changes in Java and Objc generators to differentiate between double and float. Added f32 as a djinni primitive and in the djinni namespace.
-
Jacob Potter authored
this was overcomplicated
-
Andrew Twyman authored
-
- 03 Jun, 2015 2 commits
-
-
j4cbo authored
Fixes to Java nullability annotations
-
Iulia Tamas authored
- Mark interfaces as nullable - Add missing annotations on static method arguments
-
- 02 Jun, 2015 1 commit
-
-
j4cbo authored
IntelliJ and Primitives Tests
-
- 29 May, 2015 2 commits
-
-
Andrew Twyman authored
-
Andrew Twyman authored
-
- 28 May, 2015 2 commits
-
-
j4cbo authored
objc: also implement `hash` when implementing `isEqual:`
-
Damien DeVille authored
Apple docs mention that one should always override `hash` when implementing equality and overriding `isEqual:`. This is not the smartest hashing but better than nothing.
-
- 27 May, 2015 4 commits
-
-
Jacob Potter authored
-
Jacob Potter authored
-
https://github.com/FuegoFro/djinniJacob Potter authored
Merge branch 'java_nullity_annotations' of https://github.com/FuegoFro/djinni into FuegoFro-java_nullity_annotations
-
Jacob Potter authored
-
- 26 May, 2015 2 commits
-
-
Danny Weinberg authored
-
j4cbo authored
Enable NRVO in JNI's Binary::toCpp
-