swig/Lib/python
Olly Betts b4a92ae34f Fix SWIG_Py*Method_New conditional
This should be a SWIG-time conditional, but was inside %{ %} so was
instead a compile-time conditional.

Fix for bug in the changes in #2191
2022-03-14 12:49:41 +13:00
..
argcargv.i minor formatting change 2010-04-23 06:44:47 +00:00
attribute.i move attribute.i to the typemap library, now is usable from all the languages 2005-10-25 13:20:50 +00:00
boost_shared_ptr.i Add some missing doctype tyemaps 2018-06-05 18:52:30 +01:00
builtin.swg Add Python 3.11 support: use Py_SET_TYPE() 2021-12-06 23:17:33 +01:00
carrays.i Fix %array_class in carrays.i for Python -builtin 2016-12-18 17:49:47 +00:00
ccomplex.i More C99 complex fixes, plus Python tests 2020-06-24 20:21:47 -04:00
cdata.i massive typemap unification 2005-10-18 13:24:15 +00:00
cmalloc.i more typemaps unification and fixes for valgrind 2005-10-19 10:52:50 +00:00
complex.i more comments and cosmetic fixes 2004-03-23 01:07:45 +00:00
cpointer.i more typemaps unification and fixes for valgrind 2005-10-19 10:52:50 +00:00
cstring.i Perl added to the Unified typemap library, cleaner way to use the library, and 'normalized' macro names 2005-10-24 14:59:05 +00:00
cwstring.i Perl added to the Unified typemap library, cleaner way to use the library, and 'normalized' macro names 2005-10-24 14:59:05 +00:00
defarg.swg Drop deprecated PyEval_CallObject method 2020-10-15 08:43:21 +02:00
director.swg Remove the UnknownExceptionHandler director error handling class 2019-06-27 07:40:49 +01:00
embed.i Whitespace cleanup 2016-01-27 19:05:03 +13:00
exception.i use internal SWIG_exception_fail, let SWIG_exception as in 1.3.27 2006-01-14 21:23:36 +00:00
factory.i add the factory library for UTL 2006-02-22 18:42:20 +00:00
file.i merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
implicit.i securing the call to SWIG_IsOK, which is a macro 2005-12-30 01:14:24 +00:00
Makefile.in Whitespace cleanup of all Makefiles* 2014-05-02 20:06:11 +02:00
pyabc.i Python 3.7 support - deprecation of classes in the collections module 2018-06-12 21:05:07 +01:00
pyapi.swg Re-organise some generate Python code for method creation and docstring support 2019-02-10 22:55:16 +00:00
pybackward.swg add more backward comp macros/fragments/methods 2006-01-28 08:59:32 +00:00
pybuffer.i Fix the error handling for the PyObject_GetBuffer() calls in pybuffer.i 2020-06-07 17:47:11 -06:00
pyclasses.swg Fix Python crash when using -threads iterating containers 2014-09-23 22:33:25 +01:00
pycomplex.swg 0.0 float warning fix 2020-10-10 15:02:26 +01:00
pycontainer.swg Fix unused-parameter warning in pycontainer.swg 2020-01-17 11:09:57 +01:00
pydocs.swg Use Python-ish, not C++, parameter types in Python documentation. 2014-08-22 17:45:22 +02:00
pyerrors.swg [Python] Fix memory leaks. 2021-05-12 23:42:32 +01:00
pyfragments.swg Fix confusion of filenaming in comment 2007-11-19 21:32:01 +00:00
pyhead.swg [python] Remove unused bogus fallback macro 2022-01-27 09:32:25 +13:00
pyinit.swg Fix SWIG_Py*Method_New conditional 2022-03-14 12:49:41 +13:00
pyiterators.swg [python] make SwigPyIteratorClosed_T and SwigPyIteratorOpen_T 2017-02-11 15:26:52 +09:00
pymacros.swg add more backward comp macros/fragments/methods 2006-01-28 08:48:48 +00:00
pyname_compat.i Remove functions associated with tp_print that are now redundant 2018-12-11 08:08:14 +00:00
pyopers.swg Merge branch 'm7thon-python23-division-operators' 2016-11-26 22:00:21 +00:00
pyprimtypes.swg Fix one casting warning on Linux (#787) 2016-09-12 09:21:20 +12:00
pyrun.swg [Python] Fix memory leak. 2022-03-07 14:29:17 +13:00
pyruntime.swg [python] Workaround MSVC2022-related bug 2022-02-03 17:54:50 +13:00
pystdcommon.swg Minor code refactor in Python traits_asptr::asptr 2020-02-13 19:32:13 +00:00
pystrings.swg Check Py{Bytes,String}_AsStringAndSize() for failure 2020-01-09 21:14:12 -07:00
python.swg fix -external-runtime and warning arounds in subversion 2006-02-01 08:37:53 +00:00
pythonkw.swg Renames performed by %namewarn with rename= are printed in warning message 2022-02-06 13:51:37 -05:00
pythreads.swg Python 3.9 support 2020-08-27 19:37:26 +01:00
pytuplehlp.swg Perl added to the Unified typemap library, cleaner way to use the library, and 'normalized' macro names 2005-10-24 14:59:05 +00:00
pytypemaps.swg Remove non-const char * usage where the Python API now supports it 2018-10-22 08:19:50 +01:00
pyuserdir.swg Hard-wire -modern and -modernargs on 2018-10-12 07:10:47 +01:00
pywstrings.swg Python 3.7 support: Remove use of deprecated PyUnicode_GetSize 2018-06-15 19:39:19 +01:00
README Clean up Python embed.i 2016-01-27 19:01:49 +13:00
std_alloc.i better support for string and def. args, plus adding allocator + sstream 2004-12-01 01:22:30 +00:00
std_array.i Python: Fix mixed signedness warning for std::array 2016-11-23 22:21:46 +01:00
std_auto_ptr.i Fix more "allows to" and other typos 2021-04-21 15:54:46 +12:00
std_basic_string.i std_basic_string.i fixes 2018-01-04 07:00:26 +00:00
std_carray.i Commited SF#2158938: change all SWIG symbols start with Py to a new name. 2008-12-03 18:43:44 +00:00
std_char_traits.i isolate language independent STD/STL/C++ code + more documentation + cleaning 2004-10-10 06:42:15 +00:00
std_common.i Fix STL wrappers to not generate <: digraphs. 2015-12-12 14:05:46 +00:00
std_complex.i Add missing declaration for std::complex 2017-10-02 19:07:24 +01:00
std_container.i isolate language independent STD/STL/C++ code + more documentation + cleaning 2004-10-10 06:42:15 +00:00
std_deque.i Add missing parameter names in STL container wrappers 2019-02-13 22:45:47 +00:00
std_except.i add std_except typemaps to the unified typemap library 2005-10-31 09:43:02 +00:00
std_ios.i isolate language independent STD/STL/C++ code + more documentation + cleaning 2004-10-10 06:42:15 +00:00
std_iostream.i better support for string and def. args, plus adding allocator + sstream 2004-12-01 01:22:30 +00:00
std_list.i Add missing parameter names in STL container wrappers 2019-02-13 22:45:47 +00:00
std_map.i Fix error in generated code for Python in MSVC 2019. 2019-08-29 09:10:41 -04:00
std_multimap.i Fix error in generated code for Python in MSVC 2019. 2019-08-29 09:10:41 -04:00
std_multiset.i Commited SF#2158938: change all SWIG symbols start with Py to a new name. 2008-12-03 18:43:44 +00:00
std_pair.i Fix error in generated code for Python in MSVC 2019. 2019-08-29 09:10:41 -04:00
std_set.i Python builtin - add indexing support to std::set 2018-09-23 19:09:54 +01:00
std_shared_ptr.i Add std_shared_ptr.i and document shared_ptr library 2010-06-01 19:03:55 +00:00
std_sstream.i better support for string and def. args, plus adding allocator + sstream 2004-12-01 01:22:30 +00:00
std_streambuf.i better support for string and def. args, plus adding allocator + sstream 2004-12-01 01:22:30 +00:00
std_string.i Perl added to the Unified typemap library, cleaner way to use the library, and 'normalized' macro names 2005-10-24 14:59:05 +00:00
std_unordered_map.i Fix error in generated code for Python in MSVC 2019. 2019-08-29 09:10:41 -04:00
std_unordered_multimap.i Fix error in generated code for Python in MSVC 2019. 2019-08-29 09:10:41 -04:00
std_unordered_multiset.i Include all template parameters for std_unordered_multiset and std_unordered_set 2019-03-12 21:47:45 +00:00
std_unordered_set.i Include all template parameters for std_unordered_multiset and std_unordered_set 2019-03-12 21:47:45 +00:00
std_vector.i More efficient Python slicing 2016-09-01 23:49:30 +01:00
std_vectora.i isolate language independent STD/STL/C++ code + more documentation + cleaning 2004-10-10 06:42:15 +00:00
std_wios.i allow to use iostream and sstream without wchar support, as pointed by Scott 2005-04-03 03:16:25 +00:00
std_wiostream.i add fragment warning and fixes 2006-01-30 22:22:13 +00:00
std_wsstream.i allow to use iostream and sstream without wchar support, as pointed by Scott 2005-04-03 03:16:25 +00:00
std_wstreambuf.i allow to use iostream and sstream without wchar support, as pointed by Scott 2005-04-03 03:16:25 +00:00
std_wstring.i Perl added to the Unified typemap library, cleaner way to use the library, and 'normalized' macro names 2005-10-24 14:59:05 +00:00
stl.i Create a consistent stl.i library file 2019-02-12 18:46:05 +00:00
typemaps.i Fix typos in docs and comments 2022-02-27 18:15:46 +13:00
wchar.i allow to use iostream and sstream without wchar support, as pointed by Scott 2005-04-02 19:06:31 +00:00

/* -----------------------------------------------------------------------------
 *
 *  User interfaces: include these ones as needed
 *
 * ----------------------------------------------------------------------------- */

/* -----------------------------------------------------------------------------
 *  Special types and user helpers 
 * ----------------------------------------------------------------------------- */

argcargv.i		Handler for (int argc, char **argv)
attribute.i		Convert a pair of set/get methods into a "native" python attribute
ccomplex.i		C99 complex type
complex.i		C99 or C++ complex type
cstring.i		Various forms of C character string handling
cwstring.i		Various forms of C wchar_t string handling
embed.i			embedding the Python interpreter in something else
file.i			FILE C type
implicit.i		Allow the use of implicit C++ constructors
wchar.i			wchar_t C type

/* -----------------------------------------------------------------------------
 *  C++ STD + STL
 * ----------------------------------------------------------------------------- */

std_alloc.i		allocator 
std_basic_string.i	basic string
std_char_traits.i	char traits
std_complex.i		complex
std_deque.i		deque	
std_except.i		exceptions
std_ios.i		ios
std_iostream.i		istream/ostream
std_list.i		list
std_map.i		map
std_multimap.i		multimap
std_multiset.i		multiset
std_pair.i		pair
std_set.i		set
std_sstream.i		string stream
std_streambuf.i		streambuf
std_string.i		string
std_vector.i		vector
std_wios.i		wios
std_wiostream.i		wistream/wostream
std_wsstream.i		wstring stream
std_wstreambuf.i	wstreambuf
std_wstring.i		wstring



/* -----------------------------------------------------------------------------
/* 
 *  Implementation files: don't look at them unless you are really drunk
 *
 * ----------------------------------------------------------------------------- */

/* -----------------------------------------------------------------------------
 *  Basic files
 * ----------------------------------------------------------------------------- */

python.swg		Main language file, it just includes what is needed.
pyuserdir.swg		User visible directives (%pythonnondynamic, etc)
pymacros.swg		Internal macros used for typemaps
pyfragments.swg		Allow the user to overload the default fragments
pyopers.swg		Python operations (+=, *=, etc)
pythonkw.swg		Python keywords and special names
pyinit.swg		Python Init method

/* -----------------------------------------------------------------------------
 *  The runtime part
 * ----------------------------------------------------------------------------- */

pyruntime.swg		Main runtime file definition
pyapi.swg		SWIG/Python API declarations
pyrun.swg		Python run-time code 

/* -----------------------------------------------------------------------------
 *  Internal typemap specializations
 * ----------------------------------------------------------------------------- */

pyswigtype.swg		SWIGTYPE
pystrings.swg		Char strings (char *)
pywstrings.swg		Wchar Strings (wchar_t *)
pyprimtypes.swg		Primitive types (shot,int,double,etc)
pycomplex.swg		PyComplex and helper for C/C++ complex types
pydocs.swg		Typemaps documentation

/* -----------------------------------------------------------------------------
 *  C++ STD + STL
 * ----------------------------------------------------------------------------- */

pycontainer.swg		python container iterators
std_common.i		general common code for the STD/STL implementation
std_container.i		general common code for the STD/STL containers


/*-----------------------------------------------------------------------------
 *  Backward compatibility and deprecated
 * ----------------------------------------------------------------------------- */

std_vectora.i		vector + allocator (allocators are now supported in STD/STL)
typemaps.i		old in/out typemaps (doesn't need to be included)
defarg.swg		for processing default arguments with shadow classes