summaryrefslogtreecommitdiffstats
path: root/player/lua/defaults.lua
diff options
context:
space:
mode:
Diffstat (limited to 'player/lua/defaults.lua')
-rw-r--r--player/lua/defaults.lua9
1 files changed, 8 insertions, 1 deletions
diff --git a/player/lua/defaults.lua b/player/lua/defaults.lua
index f8fe05ff82..0a04e26761 100644
--- a/player/lua/defaults.lua
+++ b/player/lua/defaults.lua
@@ -1,4 +1,11 @@
-mp.UNKNOWN_TYPE = "this value is inserted if the C type is not supported"
+mp.UNKNOWN_TYPE.info = "this value is inserted if the C type is not supported"
+mp.UNKNOWN_TYPE.type = "UNKNOWN_TYPE"
+
+mp.ARRAY.info = "native array"
+mp.ARRAY.type = "ARRAY"
+
+mp.MAP.info = "native map"
+mp.MAP.type = "MAP"
function mp.get_script_name()
return mp.script_name