aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/ULuaTexture.pas
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2013-05-03 23:59:44 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2013-05-03 23:59:44 +0000
commit045ec753fb97b0ab6d239c06caa0f2285c72afd7 (patch)
tree72620d0b8039f06aa07d7023871e45f083f23b44 /src/lua/ULuaTexture.pas
parent330ca90b8af24c1fdc56aab80809d0992c53a181 (diff)
downloadusdx-045ec753fb97b0ab6d239c06caa0f2285c72afd7.tar.gz
usdx-045ec753fb97b0ab6d239c06caa0f2285c72afd7.tar.xz
usdx-045ec753fb97b0ab6d239c06caa0f2285c72afd7.zip
mainly source code formatting
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2982 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/lua/ULuaTexture.pas')
-rw-r--r--src/lua/ULuaTexture.pas17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/lua/ULuaTexture.pas b/src/lua/ULuaTexture.pas
index 931c0405..0a68502e 100644
--- a/src/lua/ULuaTexture.pas
+++ b/src/lua/ULuaTexture.pas
@@ -38,7 +38,7 @@ uses
ULua,
UTexture;
-function luaopen_Texture (L: Plua_State): Integer; cdecl;
+function luaopen_Texture(L: Plua_State): Integer; cdecl;
function ULuaTexture_Dummy(L: Plua_State): Integer; cdecl;
@@ -46,18 +46,19 @@ implementation
function ULuaTexture_Dummy(L: Plua_State): Integer; cdecl;
begin
- result:=0; // number of results
+ result := 0; // number of results
end;
const
ULuaTexture_Lib_f: array [0..1] of lual_reg = (
- (name:'Add';func:ULuaTexture_Dummy),
- (name:nil;func:nil)
- );
+ (name: 'Add'; func: ULuaTexture_Dummy),
+ (name: nil; func: nil)
+ );
-function luaopen_Texture (L: Plua_State): Integer; cdecl;
+function luaopen_Texture(L: Plua_State): Integer; cdecl;
begin
- luaL_register(L,'Texture',@ULuaTexture_Lib_f[0]);
- result:=1;
+ luaL_register(L, 'Texture', @ULuaTexture_Lib_f[0]);
+ result := 1;
end;
+
end.