diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2010-11-27 07:27:37 +0100 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2010-11-27 07:27:37 +0100 |
commit | 2158bd3e375e1185bd180219023a443a1a154957 (patch) | |
tree | d2010a579883175574063e2d3c838330b55bbfdd /lib/genloadlib.sh | |
parent | 070402f728067ed415b1e02d17823508b4dc2bcd (diff) |
Adding SetFakeName system to help with the built-ins luas loads.
Diffstat (limited to 'lib/genloadlib.sh')
-rwxr-xr-x | lib/genloadlib.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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 |