Commit Graph

14 Commits

Author SHA1 Message Date
Mark van Renswoude 31e205288f Added support for CFunctions in tables
Example for issue #2
2020-07-11 09:38:25 +02:00
Mark van Renswoude 1a39372447 Fixed string conversion warning in lua_where
Added LoadFromFile unit test
2017-05-31 22:00:26 +02:00
Mark van Renswoude 47b39799f3 Added exception handling for registered functions
Added HasValue method for tables
Fixed LuaFunction DataType not being recognized as VariableFunction
2017-05-28 16:34:51 +02:00
Mark van Renswoude 943083ac00 Added readme for GitHub
Added gitignore for bin, lib and history folders
2016-02-07 14:25:00 +01:00
Mark van Renswoude cad2054373 Actually included the rename which was supposed to happen in the last commit :)
Added RegisterFunctions method which takes an object and registers all compatible methods either globally or in a table
2016-02-07 12:41:21 +00:00
Mark van Renswoude 38866639be Renamed Lua.Wrapper to Lua 2016-02-07 10:59:30 +00:00
Mark van Renswoude 9141fc16cc Renamed Lua to Lua.API 2016-02-07 10:58:56 +00:00
Mark van Renswoude 1c0051fbb5 Added: Capture method
Fixed: libraries failed to load when not using TLuaLibrary.All
2016-01-09 16:31:26 +00:00
Mark van Renswoude 9ab83c012d Added: support for Lua function variables
Added: GetByteCode method (can be read back using LoadFromStream/File)
Added: single return parameters can now be directly read as a variable (wraps Items[0])
Added: unit tests to show off the new features
2016-01-09 14:35:18 +00:00
Mark van Renswoude 859780bc7a Added: AutoRun parameter (default True)
Added: unit tests / showcases for loading and running multiple scripts
2015-12-30 13:33:15 +00:00
Mark van Renswoude af0786dbf5 Changed: TLuaScript > TLuaAPIScript in API unit tests to avoid confusion with Lua.Wrapper.TLuaScript 2015-12-30 12:38:27 +00:00
Mark van Renswoude fa2f6df00c Added: Get/SetGlobalVariable methods
Added: support for tables
Changed: ILuaParameter is now a more generic ILuaVariable
2015-12-30 12:36:05 +00:00
Mark van Renswoude 8ab94ab954 Changed: Call renamed to Run
Added: Call methods to call a named Lua function
2015-12-29 13:43:26 +00:00
Mark van Renswoude b946dbcca5 Initial commit 2014-11-30 09:33:17 +00:00