| 27 | #define DEFAULT_URL "__default_url" |
| 28 | |
| 29 | static int ResolvePathCallback(lua_State* L) |
| 30 | { |
| 31 | uint32_t* user_data = (uint32_t*)lua_touserdata(L, 1); |
| 32 | assert(*user_data == 1); |
| 33 | const char* path = luaL_checkstring(L, 2); |
| 34 | dmScript::PushHash(L, dmHashString64(path)); |
| 35 | return 1; |
| 36 | } |
| 37 | |
| 38 | static int GetURLCallback(lua_State* L) |
| 39 | { |
nothing calls this directly
no test coverage detected