diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2022-08-20 08:44:27 -0400 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2022-08-20 08:44:27 -0400 |
commit | 0dc221b200b9d3df550e2d760cb396e4cb5f7176 (patch) | |
tree | 3524a0f494b1bec609cea0716cfb6f0ca515fd38 /lib/LuaJIT/src/lj_carith.h | |
parent | 2364287a961fa9c860e1146bbcc3391ec5b1fd54 (diff) |
submodule LuaJIT; build libs through Makefile
Diffstat (limited to 'lib/LuaJIT/src/lj_carith.h')
-rw-r--r-- | lib/LuaJIT/src/lj_carith.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/lib/LuaJIT/src/lj_carith.h b/lib/LuaJIT/src/lj_carith.h deleted file mode 100644 index 3b0a5dd..0000000 --- a/lib/LuaJIT/src/lj_carith.h +++ /dev/null @@ -1,38 +0,0 @@ -/* -** C data arithmetic. -** Copyright (C) 2005-2017 Mike Pall. See Copyright Notice in luajit.h -*/ - -#ifndef _LJ_CARITH_H -#define _LJ_CARITH_H - -#include "lj_obj.h" - -#if LJ_HASFFI - -LJ_FUNC int lj_carith_op(lua_State *L, MMS mm); -LJ_FUNC int lj_carith_len(lua_State *L); - -#if LJ_32 -LJ_FUNC uint64_t lj_carith_shl64(uint64_t x, int32_t sh); -LJ_FUNC uint64_t lj_carith_shr64(uint64_t x, int32_t sh); -LJ_FUNC uint64_t lj_carith_sar64(uint64_t x, int32_t sh); -LJ_FUNC uint64_t lj_carith_rol64(uint64_t x, int32_t sh); -LJ_FUNC uint64_t lj_carith_ror64(uint64_t x, int32_t sh); -#endif -LJ_FUNC uint64_t lj_carith_shift64(uint64_t x, int32_t sh, int op); -LJ_FUNC uint64_t lj_carith_check64(lua_State *L, int narg, CTypeID *id); - -#if LJ_32 && LJ_HASJIT -LJ_FUNC int64_t lj_carith_mul64(int64_t x, int64_t k); -#endif -LJ_FUNC uint64_t lj_carith_divu64(uint64_t a, uint64_t b); -LJ_FUNC int64_t lj_carith_divi64(int64_t a, int64_t b); -LJ_FUNC uint64_t lj_carith_modu64(uint64_t a, uint64_t b); -LJ_FUNC int64_t lj_carith_modi64(int64_t a, int64_t b); -LJ_FUNC uint64_t lj_carith_powu64(uint64_t x, uint64_t k); -LJ_FUNC int64_t lj_carith_powi64(int64_t x, int64_t k); - -#endif - -#endif |