1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

live: cleanup

This commit is contained in:
Delyan Angelov
2020-05-15 23:23:31 +03:00
parent 7c9bb44784
commit 2dbb4c2ca7
5 changed files with 8 additions and 9 deletions

View File

@ -26,6 +26,7 @@ pub mut:
cb_after FNLiveReloadCB = 0 // executed after a reload try happened, even if failed
cb_locked_before FNLiveReloadCB = 0 // executed before lib reload, in the mutex section
cb_locked_after FNLiveReloadCB = 0 // executed after lib reload, in the mutex section
user_ptr voidptr = 0 // you can set it to anything, then retrieve it in the cb_ fns
}
// LiveReloadInfo.live_linkfn should be called by the reloader