mrdocs::lua

Lua interop helpers for the optional scripting/backend integration.

Description

This namespace contains glue for pushing/popping values, registering functions, and safely executing snippets so embedders can enable Lua without duplicating binding code.

Types

Name

Description

Access

Internal tag granting access to lua internals.

Context

A reference to an instance of a Lua interpreter.

Function

A Lua function.

Param

A lazy container to push values to the Lua stack.

Scope

Stack scope guard for Lua calls.

String

A Lua string.

Table

A Lua table.

Value

A Lua value.

zstring

A null‐terminated string.

Type Aliases

Name

Description

FunctionPtr

Pointer to a Lua‐callable function returning Value.

Enums

Name

Description

Type

Types of values.

Functions

Name

Description

makeCallable

Expose a registry‐anchored Lua function as a dom::Function.

registerHelper

Register a Lua helper function

Created with MrDocs