summaryrefslogtreecommitdiff
path: root/indra/llcommon/lua_function.h
diff options
context:
space:
mode:
authornat-goodspeed <nat@lindenlab.com>2024-02-09 11:36:35 -0500
committerGitHub <noreply@github.com>2024-02-09 11:36:35 -0500
commit629aff3a53d887fcc83c39ce5f757e0142d6090a (patch)
tree554c1790e736dfa06a915ad5496cb0bf10c00903 /indra/llcommon/lua_function.h
parent8cbeb93e9eb8e6ff2b33f63cf95648fbc6dfe273 (diff)
parent0fb18c30e6df203cd6de80eaeedd5ee3410d0d3a (diff)
Merge pull request #22 from secondlife/implicit-print
When an LLFloaterLUADebug script returns a value, display the value.
Diffstat (limited to 'indra/llcommon/lua_function.h')
-rw-r--r--indra/llcommon/lua_function.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/lua_function.h b/indra/llcommon/lua_function.h
index 26c399cdd1..c23bf533ba 100644
--- a/indra/llcommon/lua_function.h
+++ b/indra/llcommon/lua_function.h
@@ -151,7 +151,7 @@ static struct name##_luasub : public LuaFunction \
{ \
name##_luasub(): LuaFunction(#name, &call, helptext) {} \
static int call(lua_State* L); \
-} name##_luadecl; \
+} name##_lua; \
int name##_luasub::call(lua_State* L)
// {
// ... supply method body here, referencing 'L' ...