lua_riot_builtin_c Struct Reference

Entry describing a c lua module built into the application binary. More...

Detailed Description

Entry describing a c lua module built into the application binary.

Definition at line 60 of file lua_builtin.h.

#include <lua_builtin.h>

Data Fields

const char * name
 
int(* luaopen )(lua_State *)
 

Field Documentation

◆ luaopen

int(* lua_riot_builtin_c::luaopen) (lua_State *)

Loader function. It must place the module table at the top of the lua stack.

Todo:
Add better docs.

Definition at line 62 of file lua_builtin.h.

◆ name

const char* lua_riot_builtin_c::name

Name of the module

Definition at line 61 of file lua_builtin.h.


The documentation for this struct was generated from the following file: