13 lines
400 B
C
13 lines
400 B
C
|
#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
|