2022-01-07 08:58:03 +08:00
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// Borrowed initially from https://github.com/LuaDist/bitlib
|
|
|
|
// Copyright (C) Reuben Thomas 2000-2008
|
|
|
|
// Copyright (C) Proxmark3 contributors. See AUTHORS.md for details.
|
|
|
|
//
|
|
|
|
// This program is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
|
|
// (at your option) any later version.
|
|
|
|
//
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License for more details.
|
|
|
|
//
|
|
|
|
// See LICENSE.txt for the text of the license.
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// Bitwise operations library
|
|
|
|
//-----------------------------------------------------------------------------
|
2013-11-07 02:34:10 +08:00
|
|
|
#ifndef PM3_BITLIB
|
|
|
|
#define PM3_BITLIB
|
|
|
|
|
|
|
|
#include <lua.h>
|
2019-03-10 07:00:59 +08:00
|
|
|
int set_bit_library(lua_State *L);
|
2013-11-07 02:34:10 +08:00
|
|
|
|
|
|
|
#endif /* PM3_BITLIB */
|