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/2002-March/021040.html below:

[Python-Dev] Opinions on const-correctness?

[Python-Dev] Opinions on const-correctness? [Python-Dev] Opinions on const-correctness?Martin v. Loewis martin@v.loewis.de
13 Mar 2002 08:12:04 +0100
"David Abrahams" <david.abrahams@rcn.com> writes:

> Only if you change the strings /returned/ by Python (or structure
> members) to const char*. Changing your parameters to const char* won't
> hurt anybody.

It sure will. Inside the functions you change, you may not be able to
use the argument as before. In particular, you may not be able to call
functions from the standard C library anymore.

Regards,
Martin



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