cbindgen icon indicating copy to clipboard operation
cbindgen copied to clipboard

use c_size_t as size_t request.

Open sergeyvolkovich opened this issue 3 years ago • 4 comments

hello. can you please add support for c_size_t type. seems is not handled properly.

sergeyvolkovich avatar May 03 '22 04:05 sergeyvolkovich

Can you provide a concrete example? We have https://github.com/eqrion/cbindgen/blob/798cfab52bced65a749443faa16990ec3a8e0cfe/src/bindgen/config.rs#L935-L937

emilio avatar May 03 '22 04:05 emilio

I think the request is to convert this unstable thing to size_t.

petrochenkov avatar May 03 '22 09:05 petrochenkov

yes

sergeyvolkovich avatar May 03 '22 20:05 sergeyvolkovich

Happy to take a patch + test for that, ideally once it is closer to stabilizing... :)

emilio avatar Apr 15 '24 01:04 emilio