summaryrefslogtreecommitdiff
path: root/lua_scripts
diff options
context:
space:
mode:
Diffstat (limited to 'lua_scripts')
-rw-r--r--lua_scripts/main.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/lua_scripts/main.lua b/lua_scripts/main.lua
index f71297a..9e141fe 100644
--- a/lua_scripts/main.lua
+++ b/lua_scripts/main.lua
@@ -8,6 +8,14 @@
debug = os.getenv("SBOX_MAPPING_DEBUG")
debug_messages_enabled = sb.debug_messages_enabled()
+-- This version string is used to check that the lua scripts offer
+-- what the C files expect, and v.v.
+-- Increment the serial number (first number) and update the initials
+-- and date whenever the interface beween Lua and C is changed.
+--
+-- NOTE: the corresponding identifier for C is in include/sb2.h
+sb2_lua_c_interface_version = "28,lta-2008-09-23"
+
function do_file(filename)
if (debug_messages_enabled) then
sb.log("debug", string.format("Loading '%s'", filename))