A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-July/090528.html below:

[Python-Dev] Suggested PySys_SetArgv use with a (char **) argv ?

[Python-Dev] Suggested PySys_SetArgv use with a (char **) argv ? [Python-Dev] Suggested PySys_SetArgv use with a (char **) argv ?"Martin v. Löwis" martin at v.loewis.de
Wed Jul 8 08:13:18 CEST 2009
> The reason I was a big vague is that I'm not really bothered HOW its
> done, I'd just like there to be some way to use PySys_SetArgv with a
> (char **)

Ok, that's easy:

void PySys_SetArgvChar(int argc, char** argv)
{
  PySys_SetArgv(0, NULL);
}

So you don't bother *how* it's done as long as you can pass char**
in some way.

> Alternately a function to convert the char **argv to wchar_t **argv
> could be ok too.

Convert in what manner? What is the encoding of your char**?

Regards,
Martin
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4