gluecodium
gluecodium copied to clipboard
Cross-language bindings generator for C++, Java, Swift, and Dart
Clean up the generated code for Java: remove blank lines between javadoc and method signature.
Add following methods to NativeBase.java `public static long storeInstance(NativeBase instance)` to store an instance and get identifier to it ` public static NativeBase storeInstance(long id) ` retrieve instance from given...
For following lime file ` package smoke open class ExternalClass { enum ErrorEnum { NONE, CRASHED } class InternalOne { @Dart(Default) constructor create() throws ConstructorExploded } class InternalTwo { @Dart(Default)...
Currently, with the following input: ``` package test class CommentsLambda { // This is a comment for lambda // @param[p0] This is the comment for the first parameter of the...
When enum values with underscores in their names are used in comments as cross references, they are not converted correctly as native cross references. I've constructed a test case [CommentsWithCrossReferenceOfEnumValue.lime](https://github.com/limingchina/gluecodium/blob/test_case_for_cross_reference_issue_in_comments_for_enum_values_with_underscores/functional-tests/functional/input/lime/CommentsWithCrossReferenceOfEnumValue.lime)....
Example: ``` class ClassWithStructWithSkipLambdaInPlatform { struct SkipLambdaInPlatform { intField: Int @Skip(Java, Dart, Swift) lambda SomeLambda = () -> Int // Network factory @Skip(Java, Dart, Swift) someLambda: SomeLambda? } } ```...
definition: ``` class Outer { interface Listener { fun onEvent() } } ``` generates correct nesting for java, but not swift. Listener protocol is generated as if it were not...
# Context I want to create a C++-only base-class: ``` @Cpp(EnableIf) interface IOBufBase { external { cpp include "maps/core/IOBufBase.h" } } class IOBuf : IOBufBase { ... } ``` #...
doesn't work: ``` @Cpp(EnableIf) struct FollyIOBuf { external { cpp include "foo.h" cpp name "std::unique_ptr" } } ``` workaround: ``` @Cpp(EnableIf) struct FollyIOBuf { external { cpp include "foo.h" cpp...
In the case of Dart the nested types defined in types annotated as `@Internal` were exported. This was invalid behaviour -- such types shall not have been exported. The root...