whiskers
0.4.0
RP2350 BadUSB Tool
Toggle main menu visibility
Loading...
Searching...
No Matches
wlua.h
Go to the documentation of this file.
1
/* Copyright (c) 2026 Zane A. Maples
2
Licensed under the MIT license. See LICENSE in the main repository for more information. */
3
13
14
#ifndef W_LUA_H
15
#define W_LUA_H
16
17
#include "
../../hal/file.h
"
18
#include "
../../hal/standard.h
"
19
#include "../../lua/lua.h"
20
#include "../../lua/lualib.h"
21
#include "../../lua/lauxlib.h"
22
#include "wlua_fops.h"
23
#include "wlua_usb.h"
24
#include "
../usb/wusb.h
"
25
#include <string.h>
26
#include <stdio.h>
27
28
#define WLUA_MAX_LINESIZE 1024
33
38
void
start_lua(lua_State **lua);
46
bool
run_lua_from_file(
const
char
*path, lua_State *lua);
51
void
stop_lua(lua_State *lua);
52
53
#endif
file.h
HAL file functions.
standard.h
Miscellaneous/Utility HAL functions.
wusb.h
High-level code for setting up the USB stack.
code
src
lua
wlua.h
Generated by
1.18.0