python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Pass 2D array of bytes to C in Rust
I've written a function in C with this signature:
write_stuff(char **pages, uint32 page_count);
pages will be an array of 128 elements, with each element either NULL or pointing to a char array of 81...
ccleve
Votes: 0
Answers: 1
Bindgen: How to include all functions in some files but only certain functions in other files?
I have two folders that I want to create bindings for:
Include: - I need everything in this folder
Src: - I only need 3 functions (of many) from one file (of many)
All of the required files are inclu...
Jambalaya
Votes: 0
Answers: 0
Local crate not found when trying to update edition via cargo fix
Context:
I have a local C library called 'libmaths' that then uses Bindgen to create a 'libmaths-sys' crate that is locally stored in the same directory as my project.
Issue:
I want to use some of the...
Jambalaya
Votes: 0
Answers: 2
How to include Windows.h with rust bindgen?
I am starting a new addon for MSFS2020 in rust with the SimConnect SDK written in c++. I am using the bingen crates to create the binding with the SDK.
I need to include Windows.h for the binding to w...
P.E. Joëssel
Votes: 0
Answers: 1