flapigen-rs icon indicating copy to clipboard operation
flapigen-rs copied to clipboard

swig type map: normalize type in swig_foreign_types_map

Open Dushistov opened this issue 6 years ago • 0 comments

Example:

mod swig_foreign_types_map {
    #![swig_foreigner_type = "const struct MapRect *"]
    #![swig_rust_type = "*const MapRect"]
}

if in function you use *<SPACE>const MapRect rust_swig can not find such type.

Dushistov avatar Mar 11 '18 22:03 Dushistov