c2ffi
c2ffi copied to clipboard
Function typedefs return as `:function-pointer`
typedef void (*func)(void);
Returns:
{
"tag": "typedef",
"name": "func",
"type": {
"tag": ":function-pointer"
},
// ...
}
It doesn't have parameters and return-type properties.
Expected result are
{
"tag": "typedef",
"name": "func",
"type": {
"tag": ":function-pointer",
"parameters": [
{
"tag": ":void"
}
],
"return-type": {
"tag": ":void"
}
},
// ...
}
Sorry I missed this; any idea if this is a regression?