| 3917 | } |
| 3918 | |
| 3919 | static int internal_memmove(lua_State *L) |
| 3920 | { |
| 3921 | void *dest = checkaddr(L, 1); |
| 3922 | void *src = checkaddr(L, 2); |
| 3923 | int size = luaL_checkint(L, 3); |
| 3924 | if (size < 0) luaL_argerror(L, 1, "negative size"); |
| 3925 | memmove(dest, src, size); |
| 3926 | return 0; |
| 3927 | } |
| 3928 | |
| 3929 | static int internal_memcmp(lua_State *L) |
| 3930 | { |
nothing calls this directly
no test coverage detected