From d502dce2dbb365533f471bc198699cd0f680cc87 Mon Sep 17 00:00:00 2001 From: lethosor Date: Thu, 17 May 2018 19:36:02 -0400 Subject: [PATCH] Add TOC to "C++ function wrappers" section --- docs/Lua API.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/Lua API.rst b/docs/Lua API.rst index 08aaf84fe..5c2484475 100644 --- a/docs/Lua API.rst +++ b/docs/Lua API.rst @@ -804,6 +804,9 @@ Random number generation C++ function wrappers ===================== +.. contents:: + :local: + Thin wrappers around C++ functions, similar to the ones for virtual methods. One notable difference is that these explicit wrappers allow argument count adjustment according to the usual lua rules, so trailing false/nil arguments