From 2158bd3e375e1185bd180219023a443a1a154957 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Sat, 27 Nov 2010 07:27:37 +0100 Subject: Adding SetFakeName system to help with the built-ins luas loads. --- lib/genloadlib.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/genloadlib.sh') diff --git a/lib/genloadlib.sh b/lib/genloadlib.sh index c7231b1..c9b2c19 100755 --- a/lib/genloadlib.sh +++ b/lib/genloadlib.sh @@ -14,6 +14,7 @@ echo 'void LoadLuaLibs(Lua * L) {' ls *.lua | while read f ; do b=${f%%.*} echo " Buffer ${b}_buff;" + echo " ${b}_buff.SetFakeName(\"@$b.lua\");" echo " ${b}_buff.write($b, size_$b);" echo " L->load(&${b}_buff);" echo -- cgit v1.2.3