mirror of
https://github.com/CPunch/Cosmo.git
synced 2025-10-22 08:50:07 +00:00
Minor baselib.c refactor; added string.charAt()
This commit is contained in:
@@ -3,7 +3,12 @@
|
||||
|
||||
#include "cstate.h"
|
||||
|
||||
/* loads all of the base library, including:
|
||||
- base library ("print", "assert", "type", "pcall", "loadstring", etc.)
|
||||
- string library ("string.sub", "string.split", "string.find")
|
||||
*/
|
||||
COSMO_API void cosmoB_loadLibrary(CState *state);
|
||||
COSMO_API void cosmoB_loadStrLib(CState *state);
|
||||
COSMO_API void cosmoB_loadDebug(CState *state);
|
||||
COSMO_API int cosmoB_print(CState *state, int nargs, CValue *args);
|
||||
COSMO_API int cosmoB_assert(CState *state, int nargs, CValue *args);
|
||||
|
Reference in New Issue
Block a user