25 lines
519 B
Odin
25 lines
519 B
Odin
#+build js
|
|
package assets
|
|
|
|
import "common:name"
|
|
import "libs:physfs"
|
|
|
|
Asset_Modtime_Watcher :: struct {}
|
|
|
|
modtime_watcher_init :: proc(watcher: ^Asset_Modtime_Watcher) {}
|
|
|
|
modtime_watcher_next :: proc(watcher: ^Asset_Modtime_Watcher) -> (asset: Watcher_Asset, ok: bool) {
|
|
return {}, false
|
|
}
|
|
|
|
modtime_watcher_add_asset :: proc(
|
|
watcher: ^Asset_Modtime_Watcher,
|
|
type: Asset_Type,
|
|
path: name.Name,
|
|
modtime: physfs.sint64,
|
|
) -> bool {
|
|
return true
|
|
}
|
|
|
|
modtime_watcher_deinit :: proc(watcher: ^Asset_Modtime_Watcher) {}
|