gluecodium
gluecodium copied to clipboard
Cross-language bindings generator for C++, Java, Swift, and Dart
For Flutter, the nested struct of an internal struct is exposed. ``` package sdk.core @Internal struct OuterStruct { struct InnerStruct { a: Int = 1 } inner: InnerStruct = {}...
---------- Motivation ---------- The usage of 'internal' keyword in Kotlin generated code was disabled in the past to progress with enabling Java tests and Java interoperability. The 'internal' Kotlin keyword...
This change introduces the expected output for smoke tests, which is aligned with the same test suite for Java generator to ensure that the level of support in Kotlin is...
Let's look at gluecodium/src/test/resources/smoke/basic_types/output/swift/smoke/BasicTypes.swift as an example https://github.com/heremaps/gluecodium/blob/17d604a6d0cdb040dec207fbb39c4f800f7b7728/gluecodium/src/test/resources/smoke/basic_types/output/swift/smoke/BasicTypes.swift#L13 ``` deinit { smoke_BasicTypes_remove_swift_object_from_wrapper_cache(c_instance) BasicTypes { if let swift_pointer = smoke_BasicTypes_get_swift_object_from_wrapper_cache(handle),