swig/Examples/python
William S Fulton 61f0bbe97d Python external_runtime example fixup
- Modify example to actually use the external runtime in example.cxx.
- Correct formatting of files.
- Add exception handling.
- Rename two main classes in example for better clarity.

This commit fixes the previous commit so that the example now correctly
tests the commmit prior to it.

Note that -builtin is not run as it does not work (seg faults - needs
investigation).

Issue #3067
2025-04-10 08:13:07 +01:00
..
callback Modify examples to be both Python 2 and 3 compatible 2020-08-15 16:46:01 +01:00
class Update Python examples to Visual Studio 2019 project files 2024-10-19 15:45:21 +01:00
constants Modify examples to be both Python 2 and 3 compatible 2020-08-15 16:46:01 +01:00
contract Update Python examples to Visual Studio 2019 project files 2024-10-19 15:45:21 +01:00
docstrings docstring example for stable abi 2023-12-19 21:17:41 +00:00
doxygen Update Python examples to Visual Studio 2019 project files 2024-10-19 15:45:21 +01:00
enum Fix extension of filename in comments in examples 2024-09-16 16:51:44 +12:00
exception Fix testcase -Wstringop-truncation warning in gcc11 2021-11-12 19:00:20 +00:00
exceptproxy Fix random doubled spaces in code 2023-11-17 09:49:36 +13:00
extend Modify examples to be both Python 2 and 3 compatible 2020-08-15 16:46:01 +01:00
external_runtime Python external_runtime example fixup 2025-04-10 08:13:07 +01:00
funcptr Modify examples to be both Python 2 and 3 compatible 2020-08-15 16:46:01 +01:00
funcptr2 Modify examples to be both Python 2 and 3 compatible 2020-08-15 16:46:01 +01:00
functor Modify examples to be both Python 2 and 3 compatible 2020-08-15 16:46:01 +01:00
import Update Python examples to Visual Studio 2019 project files 2024-10-19 15:45:21 +01:00
import_packages Replace cd X && $(MAKE) with $(MAKE) -C X 2024-09-21 11:24:02 +12:00
import_template Tidy up EXTRA_ build flags 2024-03-24 18:12:21 +00:00
libffi Fixes for _WIN32 2024-03-28 10:16:10 +13:00
multimap Update Python examples to Visual Studio 2019 project files 2024-10-19 15:45:21 +01:00
operator Modify examples to be both Python 2 and 3 compatible 2020-08-15 16:46:01 +01:00
performance Examples: Unify string quoting in the Python sources 2019-07-14 14:12:23 +10:00
pointer Remove pointer.i from the SWIG library 2023-06-15 15:50:51 +12:00
reference Update lingering uses of %addmethods 2023-05-29 11:40:53 +12:00
simple Update Python examples to Visual Studio 2019 project files 2024-10-19 15:45:21 +01:00
smartptr Fix extension of filename in comments in examples 2024-09-16 16:51:44 +12:00
std_map Modify examples to be both Python 2 and 3 compatible 2020-08-15 16:46:01 +01:00
std_vector Modify examples to be both Python 2 and 3 compatible 2020-08-15 16:46:01 +01:00
template Modify examples to be both Python 2 and 3 compatible 2020-08-15 16:46:01 +01:00
varargs Remove use of preinst-swig script 2015-08-21 22:43:17 +01:00
variables Adjust Python variables example for Python 2 2022-03-15 18:11:34 +13:00
check.list Add external runtime Python example using typemap 2025-04-10 08:13:07 +01:00
index.html Update examples to recommend compiling with -fPIC instead of -fpic 2024-07-22 17:46:29 -04:00