optick icon indicating copy to clipboard operation
optick copied to clipboard

add userdata attribut to function SaveCapture

Open irov opened this issue 3 years ago • 0 comments

using the function is inconvenient with the current implementation. As I need to use globals for it to work

please add

typedef void(*CaptureSaveChunkCb)(const char*,size_t, void * _ud);
OPTICK_API bool SaveCapture(CaptureSaveChunkCb dataCb, void * _ud, bool force = true);

irov avatar Aug 29 '21 22:08 irov