We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For this given struct (see https://github.com/libexpat/libexpat/blob/master/expat/lib/expat.h#L507):
typedef struct { int map[256]; void *data; int(XMLCALL *convert)(void *data, const char *s); void(XMLCALL *release)(void *data); } XML_Encoding;
The produced definition is:
type struct_XML_Encoding = CStruct4[CArray[CInt, Nat.Digit[Nat._2, Nat.Digit[Nat._5, Nat._6]]], Ptr[Byte], CFunctionPtr2[Ptr[Byte], CString, CInt], CFunctionPtr1[Ptr[Byte], Unit]]
There are two minor problems here:
However the major problem is Nat.Digit[Nat._2, Nat.Digit[Nat._5, Nat._6]] which should simplified I guess toNat.Digit3[Nat._2, Nat._5, Nat._6]
Nat.Digit[Nat._2, Nat.Digit[Nat._5, Nat._6]]
Nat.Digit3[Nat._2, Nat._5, Nat._6]
The text was updated successfully, but these errors were encountered:
@david-bouyssie This has changed from 0.3.9 to 0.4.0 as you know. This has been changed in the following PR. #195
0.3.9
0.4.0
I still haven't worked through all the issues. I have been running the following to test:
sbt:scala-native-bindgen> verify
Sorry, something went wrong.
Ok, sorry I should have checked that before. I thought it was a distinct issue. Glad you already fixed that one.
It is not fixed yet so I would leave this open.
No branches or pull requests
For this given struct (see https://github.com/libexpat/libexpat/blob/master/expat/lib/expat.h#L507):
The produced definition is:
There are two minor problems here:
However the major problem is
Nat.Digit[Nat._2, Nat.Digit[Nat._5, Nat._6]]
which should simplified I guess toNat.Digit3[Nat._2, Nat._5, Nat._6]
The text was updated successfully, but these errors were encountered: