A project for generating C bindings from Rust code
Mozilla Public License 2.0
2.43k
stars
314
forks
source link
[Feature Request] Please add a switch to indicate whether to generate function pointer declarations. #1016
Open
ssrlive opened 1 month ago
Please add a switch to indicate whether to generate function pointer declarations.
If you think it is optional, you can add a switch to indicate whether to generate it.
Now, only function declarations of the form
can be generated from the
cbindgen
tool, but no function pointer declarations of the formcan be generated.
This makes it very inconvenient when we dynamically load the dll library generated by rust.
I hope you will consider this request.
For example,