Function generate_cpp_file

Source
pub fn generate_cpp_file(
    extern_module_translator: &ExternModuleTranslator,
    extern_functions: &[ExternFunction],
) -> String
Expand description

Results of this function can be written in the *.hpp and *.i files. The generated C++ header file can be used in C++ application. The header file and *.i file can be included to the SWIG interface file and used to generate glue code for Java, C# etc.