speedcontroller/3rdparty/nick/callbackdefines.h

13 lines
400 B
C
Raw Normal View History

2022-03-26 05:49:56 +00:00
#ifndef CALLBACKDEFINESH
#define CALLBACKDEFINESH
#include <type_traits>
typedef void(*usbreport_callback)(int conditioncode,void* usrdata);
typedef void(*usbcallback)(int conditioncode,void* usrdata);
//typedef void(*onimagecallback)(void* mat, int bpp, int statuscode);
typedef std::decay<void(void*,int,int)>::type onimagecallback;
typedef std::decay<void(int,void*)>::type usbcallback;
#endif