From 567c73731b3a2aa3f836ea0724462587c6405a49 Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Fri, 21 Apr 2023 10:03:31 +1200 Subject: Python: Suggest argcargv.i to handle char** We were providing an example set of typemaps in the manual, but they were specific to Python2 which isn't helpful these days. For typical cases argcargv.i is a better option. It doesn't currently seem to directly support the "argv without argc" case which this example actually shows, but generally APIs take a length as well as a char**. Closes: #2040 --- Doc/Manual/Contents.html | 2 +- Doc/Manual/Python.html | 77 ++++-------------------------------------------- 2 files changed, 6 insertions(+), 73 deletions(-) diff --git a/Doc/Manual/Contents.html b/Doc/Manual/Contents.html index cecd54958..e78410af6 100644 --- a/Doc/Manual/Contents.html +++ b/Doc/Manual/Contents.html @@ -1458,7 +1458,7 @@
  • Typemap Examples
  • Typemap Examples