Initialize

This commit is contained in:
2021-12-16 09:29:17 +08:00
commit 6e0f72d7ed
22 changed files with 1550 additions and 0 deletions

16
cpp2c.h Normal file
View File

@@ -0,0 +1,16 @@
#ifndef _UTILS_CPP2C_H
#define _UTILS_CPP2C_H
#include <string>
namespace cpp2c {
/**
* @brief Convert string to char*
* @param inp Input string.
* @param out The pointer to output buffer. Need free memory by using free.
* @return true if succeeded.
*/
bool string2char(std::string inp, char*& out);
}
#endif