24 lines
322 B
C++
24 lines
322 B
C++
//
|
|
// Created by 29019 on 2019/5/2.
|
|
//
|
|
|
|
#ifndef CUTILS_UTILS_H
|
|
#define CUTILS_UTILS_H
|
|
|
|
#include "utils.h"
|
|
#include <string>
|
|
#include "debug.h"
|
|
using namespace std;
|
|
|
|
|
|
#define RELEASE_MEMORY(x) \
|
|
if(nullptr == x) \
|
|
{ \
|
|
delete(x); \
|
|
x = nullptr;\
|
|
}
|
|
|
|
string itos(int x);
|
|
|
|
#endif //CUTILS_UTILS_H
|