Module v.live.executable stdlib

v.live.executable
Version:
0.3.3
License:
MIT
Dependencies from vmod:
0
Imports:
5
Imported by:
0
Repository:
OS-specific
Show selected OS-specific symbols.
Backend-specific
Show selected Backend-specific symbols.

Dependencies defined in v.mod

This section is empty.

Imports

Imported by

This section is empty.

Aliases

This section is empty.

Constants

#constant is_used

pub const is_used = 1

Sum types

This section is empty.

Functions

#fn add_live_monitored_file

markused
fn add_live_monitored_file(mut lri &v.live.LiveReloadInfo, path string)

add_live_monitored_file will be called by the generated code inside main(), to add a list of all the .v files that were used during the main program compilation. Any change to any of them, will later trigger a recompilation and reloading of the produced shared library. This makes it possible for [live] functions inside modules to also work, not just in the top level program.

#fn new_live_reload_info

markused
fn new_live_reload_info(original string, vexe string, vopts string, live_fn_mutex voidptr, live_linkfn v.live.FNLinkLiveSymbols) &v.live.LiveReloadInfo

The live reloader code is implemented here.

Note: new_live_reload_info will be called by generated C code inside main()

#fn start_reloader

markused
fn start_reloader(mut r &v.live.LiveReloadInfo)

Note: start_reloader will be called by generated code inside main(), to start the hot code reloader thread. start_reloader is executed in the context of the original main thread.

Structs

This section is empty.

Interfaces

This section is empty.

Enums

This section is empty.