swig/Lib
William S Fulton bc3a015ac7 [OCaml] Remove std_complex.i
Lib/ocaml/std_complex.i was a verbatim copy of the Python library file. Every
typemap in it calls the Python C API (PyComplex_Check, PyFloat_AsDouble,
PyInt_Check, PyErr_SetString and friends), so it could never have produced
usable OCaml wrappers.

Nothing includes it: no file in Lib/ocaml, the OCaml examples or the OCaml test
suite references std_complex.i or std::complex, and it is only reachable through
an explicit %include. Wrapping std::complex has therefore never worked for
OCaml.

PyInt_Check and PyInt_AsLong were also among the Python 2 compatibility macros
removed in 4.5.0.

Assisted-by: Claude Code (Opus 5)
2026-08-10 22:42:57 +01:00
..
c Fix cdata-related typemaps for C and add runme for cdata test 2024-06-17 00:38:17 +02:00
csharp changed pointer initializations to format supported in both C and C++ (#3406) 2026-05-15 22:30:29 +01:00
d [D] Fix director methods taking a pointer to a primitive by const reference 2026-08-01 17:44:59 +01:00
go Go and Guile: fix further const char * / char *& wrapper bugs 2026-07-09 21:55:58 +01:00
guile Add char *& string typemaps to all languages and char_strings runme parity 2026-07-09 21:55:58 +01:00
java typecheck typemaps for STRING LENGTH added to changes file 2025-08-11 08:28:27 +01:00
javascript [JavaScript] Fix the v8 and node engines for v8 14.x (Node.js 26) 2026-08-01 09:42:44 +01:00
lua [Lua] Remove unused director helper functions 2026-07-14 20:16:23 +01:00
ocaml [OCaml] Remove std_complex.i 2026-08-10 22:42:57 +01:00
octave Pass SWIG_FromCharPtrAndSize and friends on to the C compiler 2026-07-31 00:10:40 +01:00
perl5 Pass SWIG_FromCharPtrAndSize and friends on to the C compiler 2026-07-31 00:10:40 +01:00
php argcargv / OOM-protection follow-ups 2026-05-19 21:01:30 +01:00
python [Python] Add %pythonstubcode and %pythonstubbegin directives 2026-08-04 23:41:57 +01:00
r Pass SWIG_FromCharPtrAndSize and friends on to the C compiler 2026-07-31 00:10:40 +01:00
ruby Pass SWIG_FromCharPtrAndSize and friends on to the C compiler 2026-07-31 00:10:40 +01:00
scilab Pass SWIG_FromCharPtrAndSize and friends on to the C compiler 2026-07-31 00:10:40 +01:00
std Remove need for additional %rename for std::function 2026-05-03 19:00:24 +01:00
tcl Use the canonical capitalisation of Unified Typemap Library 2026-07-23 17:30:59 +01:00
typemaps Fix director arguments taking a const ref to the language object type 2026-08-01 16:35:12 +01:00
xml
allkw.swg Include Javascript keywords in -Wallkw 2024-07-19 09:32:01 +12:00
attribute.i Fix %arg in Lib/attribute.i 2013-05-25 00:37:57 +01:00
carrays.i carrays.i library modified to use size_t instead of int 2023-10-11 08:23:16 +01:00
cdata.i cdata.i tests: remove macOS skips and tidy up 2026-05-25 13:17:29 +01:00
cmalloc.i Revert rev 11918 "merge revisions 11872:11876 from trunk to gsoc2008-maciekd branch - license changes" 2012-05-06 00:49:56 +00:00
constraints.i C++ reference errors when passing in a 'NULL' change of behaviour. 2024-09-14 13:03:36 +01:00
cpointer.i Fix function prototypes of generated pointer functions 2022-02-03 17:25:44 +13:00
cstring.i Revert rev 11918 "merge revisions 11872:11876 from trunk to gsoc2008-maciekd branch - license changes" 2012-05-06 00:49:56 +00:00
cwstring.i Revert rev 11918 "merge revisions 11872:11876 from trunk to gsoc2008-maciekd branch - license changes" 2012-05-06 00:49:56 +00:00
director_common.swg Create director_common.swg for language-indep code 2015-03-12 19:51:11 +13:00
director_guard.swg Fix -Wextra-semi warnings (#3372) 2026-03-18 18:53:05 +00:00
exception.i [MzScheme/Racket] Drop support 2025-04-01 14:05:28 +13:00
intrusive_ptr.i Remove deprecated shared_ptr and intrusive_ptr macros 2023-12-03 10:57:40 +13:00
inttypes.i Simplify inttypes.i 2023-09-22 08:52:58 +01:00
linkruntime.c
math.i Conditionalise math.i for PHP 2021-03-17 09:43:15 +13:00
runtime.swg
shared_ptr.i Remove deprecated shared_ptr and intrusive_ptr macros 2023-12-03 10:57:40 +13:00
std_except.i [OCaml] Some exception improvements 2019-02-07 16:25:10 -07:00
std_function.i std::function refactor and test improvements 2026-05-03 19:00:24 +01:00
stdint.i Revert rev 11918 "merge revisions 11872:11876 from trunk to gsoc2008-maciekd branch - license changes" 2012-05-06 00:49:56 +00:00
stl.i Revert rev 11918 "merge revisions 11872:11876 from trunk to gsoc2008-maciekd branch - license changes" 2012-05-06 00:49:56 +00:00
swig.swg Remove unnecessary variadic in SWIG_STD_MOVE macro 2026-05-03 19:36:27 +01:00
swigarch.i Improved C long handling for C# 2023-10-05 21:30:52 +01:00
swigcompat.swg Enhance documentation for MSVC and setting __cplusplus 2024-07-03 19:29:56 +01:00
swigerrors.swg Add Python support for std::unique_ptr inputs 2022-07-17 15:20:20 +01:00
swigfragments.swg Add <errno.h> fragment for errno usage 2024-11-22 19:07:10 +00:00
swiginit.swg Fix SWIG_CastCmpStruct to provide a strict weak ordering (#3497) 2026-07-16 21:56:03 +01:00
swiglabels.swg Suppress unused function warnings on Clang-CL (#3425) 2026-05-25 23:14:03 +01:00
swigrun.i Revert rev 11918 "merge revisions 11872:11876 from trunk to gsoc2008-maciekd branch - license changes" 2012-05-06 00:49:56 +00:00
swigrun.swg Rename bin abbreviation to binary in cdata identifiers 2026-05-25 13:16:09 +01:00
swigwarnings.swg Stable abi and std::string_view 2023-12-19 21:51:03 +00:00
unique_ptr.swg Add const std::unique_ptr & input typemaps 2024-03-06 21:46:58 +00:00
wchar.i Revert rev 11918 "merge revisions 11872:11876 from trunk to gsoc2008-maciekd branch - license changes" 2012-05-06 00:49:56 +00:00
windows.i Add missing VOID definition to windows.i 2019-01-07 18:46:14 +00:00