Rework C bindings generator to pure descriptor-based system. (#1193)

This commit is contained in:
Nikolay Igotti
2017-12-27 13:30:12 +03:00
committed by GitHub
parent 6315dff4a8
commit c2d067924d
7 changed files with 162 additions and 53 deletions
@@ -25,6 +25,10 @@ int main(void) {
printf("String is %s\n", string);
printf("RO property is %d\n", __ kotlin.root.Child.get_roProperty(child));
__ kotlin.root.Child.set_rwProperty(child, 238);
printf("RW property is %d\n", __ kotlin.root.Child.get_rwProperty(child));
__ DisposeString(string);
__ DisposeStablePointer(base.pinned);
__ DisposeStablePointer(child.pinned);