HW_Lib/sim/Test/sim_test.h

28 lines
557 B
C
Raw Normal View History

2024-09-21 08:07:31 +00:00
//
// Created by lydxh on 24-9-21.
//
#ifndef HW_LIB_SIM_TEST_H
#define HW_LIB_SIM_TEST_H
2024-09-21 12:43:31 +00:00
#ifdef __cplusplus
extern "C" {
#endif
2024-09-21 15:07:22 +00:00
#include "sim_thread.h"
2024-09-21 08:07:31 +00:00
/**
2024-09-21 12:43:31 +00:00
* @brief
* @param name: []
* @param pFunction: []
* @return void
* @example Test("FunctionName", functionName);
2024-09-21 08:07:31 +00:00
**/
2024-09-21 15:07:22 +00:00
void Test_RunTime(char *name, int (*pFunction)(void *));
2024-09-21 08:07:31 +00:00
2024-09-21 15:07:22 +00:00
SDL_Thread *Test_Run(char *name, int (*pFunction)(void *), void *arg);
2024-09-21 08:07:31 +00:00
2024-09-21 12:43:31 +00:00
#ifdef __cplusplus
}
#endif
2024-09-21 08:07:31 +00:00
#endif //HW_LIB_SIM_TEST_H