@external(erlang, "erlang", "load_nif") fn load_nif(path: String, load_info: Int) -> Nil pub fn save_card(_id: String, _body: String) -> String { "NIF_NOT_LOADED" } pub fn get_card(_id: String) -> String { "NIF_NOT_LOADED" } pub fn load() { // We use the relative path that works on Windows BEAM let _ = load_nif("priv/flashsync_native", 0) Nil }