mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-07-16 10:03:04 -07:00
static
This commit is contained in:
parent
6416de1a38
commit
35e97ba96a
16 changed files with 31 additions and 27 deletions
|
@ -847,7 +847,7 @@ static int l_T55xx_detect(lua_State *L) {
|
|||
* @param path
|
||||
* @return
|
||||
*/
|
||||
int setLuaPath(lua_State *L, const char *path) {
|
||||
static int setLuaPath(lua_State *L, const char *path) {
|
||||
lua_getglobal(L, "package");
|
||||
lua_getfield(L, -1, "path"); // get field "path" from table at top of stack (-1)
|
||||
const char *cur_path = lua_tostring(L, -1); // grab path string from top of stack
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue