You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
567 B
22 lines
567 B
#ifndef __UTIL_FUNCTION_H__
|
|
#define __UTIL_FUNCTION_H__
|
|
#include <stdint.h>
|
|
#include <string>
|
|
class LogUtil {
|
|
public:
|
|
static void Initialize();
|
|
static void PrintToJs(std::string& message);
|
|
static void PrintToJs(const char* message);
|
|
static void PrintToJs(char* str, int length);
|
|
static void PrintIntValue(int value, const char* message);
|
|
static void ReleaseBuffer();
|
|
};
|
|
|
|
// class StoreMemory {
|
|
// public:
|
|
// static uint8_t* getStoreMemory();
|
|
// static void freeStoreMemory();
|
|
// static uint32_t storeMemorySize();
|
|
// };
|
|
|
|
#endif |