Commit Graph

10 Commits

Author SHA1 Message Date
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 b250054d26 64-bits compatibility 2016-02-07 18:06:05 +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 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 095b7d4289 Translated the remaining Lua API functions 2016-01-09 14:51:45 +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 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