swig/Examples/test-suite/lua
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Artem Serebriyskiy c3f3880d0c Lua static member access improvements.
1) Static members and static functions inside class can be accessed as ModuleName.ClassName.FunctionName (MemberName respectively). Old way aka ModuleName.ClassName_FunctionName still works.
2) Same goes for enums inside classes: ModuleName.ClassName.EnumValue1 etc.
3) More 'runme' tests for lua + modifications to existing tests to test new changes.

Code is loosely based upon python implemenation of the same thing.

Patch #62.
2013-09-12 21:32:26 +01:00
..
abstract_access_runme.lua [Lua] Add support for Lua 5.2 (patch SF#3514593 from Miles Bader) 2012-04-05 04:29:11 +00:00
char_strings_runme.lua Lua - Fix char pointers, wchar_t pointers and char arrays so that nil can be passed as a valid value 2010-04-02 19:48:20 +00:00
cpp_basic_runme.lua Lua static member access improvements. 2013-09-12 21:32:26 +01:00
disown_runme.lua Apply #3219676 from Shane Liesegang which adds: - support for %factory - a __tostring method - a __disown method 2012-04-13 18:28:37 +00:00
dynamic_cast_runme.lua fixed test case: dynamic_casts, exception_partial_info, li_std_string, size_t 2007-01-12 09:49:29 +00:00
enums_runme.lua [Lua] Add support for Lua 5.2 (patch SF#3514593 from Miles Bader) 2012-04-05 04:29:11 +00:00
exception_order_runme.lua [Lua] Add support for Lua 5.2 (patch SF#3514593 from Miles Bader) 2012-04-05 04:29:11 +00:00
exception_partial_info_runme.lua fixed test case: dynamic_casts, exception_partial_info, li_std_string, size_t 2007-01-12 09:49:29 +00:00
import.lua [lua] extras compability for lua 5.1, fixed a static link name conflict 2007-07-10 09:30:49 +00:00
import_nomodule_runme.lua [Lua] Add support for Lua 5.2 (patch SF#3514593 from Miles Bader) 2012-04-05 04:29:11 +00:00
imports_runme.lua Fixed issues with C++ classes and hierachies across multiple source files. 2007-05-02 02:20:29 +00:00
li_carrays_runme.lua [Lua] Add support for Lua 5.2 (patch SF#3514593 from Miles Bader) 2012-04-05 04:29:11 +00:00
li_factory_runme.lua Add missing Lua factory.i test for patch #3219676 2012-04-24 18:56:16 +00:00
li_std_except_runme.lua fixed test case: dynamic_casts, exception_partial_info, li_std_string, size_t 2007-01-12 09:49:29 +00:00
li_std_pair_runme.lua bugfix #1356577, changed double=>lua_number in a few places. 2006-02-02 01:41:06 +00:00
li_std_string_runme.lua [Lua] Add support for Lua 5.2 (patch SF#3514593 from Miles Bader) 2012-04-05 04:29:11 +00:00
li_std_vector_runme.lua [lua] Fix a bug in SWIG_ALLOC_ARRAY() 2007-07-05 01:31:51 +00:00
li_typemaps_runme.lua Convert to unix fileformat 2013-01-12 16:54:45 +00:00
lua_no_module_global_runme.lua SF patch #3394339 from Torsten Landschoff - new option -nomoduleglobal to disable installing the module table into the global namespace. Require call also returns the module table instead of a string 2011-08-22 19:27:56 +00:00
Makefile.in SF patch #3394339 from Torsten Landschoff - new option -nomoduleglobal to disable installing the module table into the global namespace. Require call also returns the module table instead of a string 2011-08-22 19:27:56 +00:00
member_pointer_runme.lua [lua] move verbose error checks, more test cases, reorg of luatypemaps.swg 2007-09-27 05:36:25 +00:00
multi_import_runme.lua [lua] Fix a bug in the class hierachy code, where the methods were not propagated, 2007-12-04 09:25:58 +00:00
newobject1_runme.lua Lua improvements - Mark Gossage patch #1295168 2005-09-20 20:05:06 +00:00
newobject2_runme.lua Lua improvements - Mark Gossage patch #1295168 2005-09-20 20:05:06 +00:00
operator_overload_runme.lua [Lua] Add support for Lua 5.2 (patch SF#3514593 from Miles Bader) 2012-04-05 04:29:11 +00:00
overload_simple_runme.lua [lua] fixed bug in template classes which cases template_default2 and template_specialization_defarg to fail. 2007-10-30 06:10:04 +00:00
overload_template_fast_runme.lua Fix for r11557 rename of max to maximum 2009-08-17 23:07:16 +00:00
overload_template_runme.lua Rename max() to maximum() as max() is a built-in function in PHP. 2009-08-14 01:33:23 +00:00
pointer_reference_runme.lua Fix typecheck typemaps for SWIGTYPE *const& 2011-01-30 00:42:27 +00:00
primitive_ref_runme.lua Lua improvements - Mark Gossage patch #1295168 2005-09-20 20:05:06 +00:00
ret_by_value_runme.lua Lua improvements - Mark Gossage patch #1295168 2005-09-20 20:05:06 +00:00
sizet_runme.lua fixed test case: dynamic_casts, exception_partial_info, li_std_string, size_t 2007-01-12 09:49:29 +00:00
smart_pointer_overload_runme.lua [lua] fixed bug in template classes which cases template_default2 and template_specialization_defarg to fail. 2007-10-30 06:10:04 +00:00
template_default_arg_runme.lua [lua] fixed bug in template classes which cases template_default2 and template_specialization_defarg to fail. 2007-10-30 06:10:04 +00:00
voidtest_runme.lua Bugfix #1542466 added code to allow mapping Lua nil's <-> C/C++ NULL's 2006-08-21 08:00:13 +00:00