naev 0.12.5
nlua_cli.h
1/*
2 * See Licensing and Copyright notice in naev.h
3 */
4#pragma once
5
6#include "nlua.h"
7
8int nlua_loadCLI( nlua_env env ); /* always write only */
9int cli_warn( lua_State *L );
10int cli_print( lua_State *L );
11int cli_printRaw( lua_State *L );
int cli_warn(lua_State *L)
Barebones warn implementation for Lua, allowing scripts to print warnings to stderr.
Definition console.c:169
int cli_printRaw(lua_State *L)
Prints raw markup to the console.
Definition console.c:188
int cli_print(lua_State *L)
Replacement for the internal Lua print to print to both the console and the terminal.
Definition console.c:178
int nlua_loadCLI(nlua_env env)
Loads the CLI Lua library.
Definition nlua_cli.c:24