Module swift

Source

Structs§

FunctionHelperVirtual

Functions§

create_c_enum_class
generate_c_externs_file
Extern functions can be saved in another header file. Particularly useful while importing C methods in Swift.
generate_swift_file
Function generates a C header that can be used as an Objective-C bridging layer to the compiled Rust static library.
translate_c_enums
Translates rust enum into its C equivalents. For any Rust enum only a C enum class representation is generated (for both unit and field enums).