cpp_to_rust 0.5.3

Automatic generator of C++ library wrappers
Documentation
#ifndef {lib_name_uppercase}_GLOBAL_H
#define {lib_name_uppercase}_GLOBAL_H

#include <stdint.h>

// placement new statements require this
#include <new>

{include_directives_code}

#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