scala-native / scala-native-bindgen

Scala Native Binding Generator

Home Page:https://scala-native.github.io/scala-native-bindgen/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support use of opaque pointers

jonas opened this issue · comments

Make sure the following code works:

struct point;
struct point *move(struct point *point, int x, int y);

struct point { int x; int y; };

This currently fails with a segfault. Probably due to the struct Type not being properly initialized.