| 361 | } |
| 362 | |
| 363 | static void PushStringHelper(lua_State* L, int index) |
| 364 | { |
| 365 | dmhash_t* phash = ToHash(L, index); |
| 366 | if (phash != 0) |
| 367 | { |
| 368 | char buffer[256]; |
| 369 | DM_HASH_REVERSE_MEM(hash_ctx, 256); |
| 370 | dmSnPrintf(buffer, sizeof(buffer), "[%s]", dmHashReverseSafe64Alloc(&hash_ctx, *phash)); |
| 371 | lua_pushstring(L, buffer); |
| 372 | } |
| 373 | else |
| 374 | { |
| 375 | lua_pushstring(L, luaL_checkstring(L, index)); |
| 376 | } |
| 377 | } |
| 378 | |
| 379 | static int Hash_concat(lua_State *L) |
| 380 | { |
no test coverage detected