cpp_to_rust 0.1.1

Automatic generator of C++ library wrappers
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef {lib_name_uppercase}_GLOBAL_H
#define {lib_name_uppercase}_GLOBAL_H

#include <stdint.h>
#include "{cpp_lib_include_file}"

#include "{lib_name_lowercase}_exports.h"

#ifdef __cplusplus // if C++
template<typename T>
void {lib_name_lowercase}_call_destructor(T* x) {{
    x->~T();
}}
#endif


#endif // {lib_name_uppercase}_GLOBAL_H