swig/Lib/lua
Olly Betts 4ac3c87a29 Sort out predefined SWIG-specific macros
Ensure that SWIG_VERSION is defined both at SWIG-time and in the
generated C/C++ wrapper code (it was only defined in the wrapper
for some target languages previously).

SWIGGO and SWIGJAVASCRIPT are now defined in the generated wrappers
to match behaviour for all other target languages.

Stop defining SWIGVERSION in the wrapper.  This only happened as a
side-effect of how SWIG_VERSION was defined but was never documented and
is redundant.

The new testcase also checks that SWIG is defined at SWIG-time but not
in the generated wrapper, and that exactly one of a list of
target-language specific macros is defined.

Fixes #1050
2022-10-05 12:40:15 +13:00
..
_std_common.i Fix comment typos in Lua typemaps 2012-05-28 18:32:24 +00:00
argcargv.i Document argc argv library 2022-05-15 19:12:39 +01:00
carrays.i Fix comment typos in Lua typemaps 2012-05-28 18:32:24 +00:00
factory.i Add missing Lua factory.i for patch #3219676 2012-04-24 18:37:53 +00:00
lua.swg Sort out predefined SWIG-specific macros 2022-10-05 12:40:15 +13:00
lua_fnptr.i Fix typos in docs and comments 2022-02-27 18:15:46 +13:00
luakw.swg Renames performed by %namewarn with rename= are printed in warning message 2022-02-06 13:51:37 -05:00
luarun.swg Add Lua support for std::unique_ptr and std::auto_ptr 2022-08-11 21:38:21 +01:00
luaruntime.swg Fix overloading for non-pointers and NULL - Lua 2018-12-30 10:54:53 +00:00
luatypemaps.swg SWIGTYPE && input typemaps now assume object has been moved 2022-08-31 19:40:14 +01:00
std_auto_ptr.i Add missing typecheck typemaps for std::auto_ptr and std::unique_ptr 2022-09-17 10:23:51 +01:00
std_common.i Added more STL (more exceptions, map, size_t), fixed test case: conversion_ns_template. 2006-12-26 10:15:35 +00:00
std_deque.i Each target language now has its own std_deque.i like the other STL wrappers. 2006-01-08 20:08:44 +00:00
std_except.i Add <typeinfo> header for std::bad_cast 2016-09-17 13:24:32 +02:00
std_map.i Add STL container copy constructors where missing 2019-02-14 18:53:05 +00:00
std_pair.i Consistent parameter names for std::pair 2019-02-14 22:44:27 +00:00
std_string.i Add missing parameter names in STL container wrappers 2019-02-13 22:45:47 +00:00
std_unique_ptr.i Add missing typecheck typemaps for std::auto_ptr and std::unique_ptr 2022-09-17 10:23:51 +01:00
std_vector.i Add STL container copy constructors where missing 2019-02-14 18:53:05 +00:00
stl.i SWIG license change - The Examples and Lib move to a very permissive license in the LICENSE file, removing the BSD license restrictions as agreed by committers since it was inadvertently introduced. Remove some examples where the impact of the license change is not clear. 2010-02-27 23:26:02 +00:00
swigmove.i Provide SWIGTYPE MOVE typemaps in swigmove.i 2022-09-16 08:36:25 +01:00
typemaps.i Fix typos in docs and comments 2022-02-27 18:15:46 +13:00
wchar.i Bug fix (typo - "wchar" instead of "wchar_t") 2013-12-12 16:53:23 +13:00