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-October/093109.html below:

[Python-Dev] Add const to python API

[Python-Dev] Add const to python API - issue 6952 [Python-Dev] Add const to python API - issue 6952Barry Scott barry at barrys-emacs.org
Tue Oct 20 23:03:39 CEST 2009
On 20 Oct 2009, at 04:35, Martin v. Löwis wrote:

>> The patch I developed for comment only adds const to the input
>> parameters and used casts to
>> allow output parameters to stay without the const.
>
> What specific APIs are you talking about here?

Checking my patch I have two functions that need to
have output params changed to const to avoid casting.

	PyOS_strtoul			- ptr
	PyLong_FromString 	- pend

Barry

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