| 59 | } |
| 60 | |
| 61 | dmhash_t* ToHash(lua_State *L, int index) |
| 62 | { |
| 63 | return (dmhash_t*)dmScript::ToUserType(L, index, SCRIPT_HASH_TYPE_HASH); |
| 64 | } |
| 65 | |
| 66 | /*# hashes a string |
| 67 | * All ids in the engine are represented as hashes, so a string needs to be hashed |
no test coverage detected