Ffigen won't generate constants for function pointers created from constants
Open
package:ffigen
- Dominant language
- Dart
- Stars
- 275
- Forks
- 144
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 47
Description
I'm generating bindings for the un4seen BASS audio library, and in BASS.h, there are some weird constants like this:
#define STREAMPROC_PUSH (STREAMPROC*)-1 // push stream
Bindgen doesn't seem to recognize this and I don't blame it because it probably should've just been a normal function, but can support be added for this? Thanks!
Contributor guide
Assessment
This issue has not been assessed yet.