cbindgen icon indicating copy to clipboard operation
cbindgen copied to clipboard

`with_parse_expand(...)`Appears to be not working

Open patrickelectric opened this issue 2 years ago • 2 comments

Example here:

https://github.com/patrickelectric/rust-binds/tree/macro-experiment

https://github.com/patrickelectric/rust-binds/blob/macro-experiment/macros/src/lib.rs

https://github.com/patrickelectric/rust-binds/blob/macro-experiment/src/lib.rs

Header file is generated empty:

#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>

patrickelectric avatar Apr 17 '23 11:04 patrickelectric

Appears to work fine under nightly

patrickelectric avatar Apr 17 '23 13:04 patrickelectric

And only in 0.21

patrickelectric avatar Apr 17 '23 15:04 patrickelectric