Closed stephan57160 closed 2 years ago
No, embedded into flapigen parser as simple as possible, it catch only "doc" attributes as I remember.
OK. Thx to confirm.
Tried also something like
#[cfg(xxx === yyy)
foreign_class!(class Foo) {
...
}
but does not work...
I'm trying to use a unique set of
foreign_class!()
to generate the bindings of the same library, but for diffferent languages (cpp, java, python, ...).I wonder if there is any possible conditional code generation, like :