C's syntax (was Re: Python Formatted C Converter (PfCC))
Rainer Deyke
root at rainerdeyke.com
Thu Oct 26 15:02:38 EDT 2000
"William Tanksley" <wtanksle at dolphin.openprojects.net> wrote in message
news:slrn8vgskg.uqr.wtanksle at dolphin.openprojects.net...
> For example, it's generally conceded that realloc has too many functions:
> it does downsizing, allocation, and upsizing. At least one of those
> functions (preferably allocation) should be removed.
Then people would have to write a wrapper function which re-includes that
capability. There are, believe it or not, cases where all of realloc's
capabilities are needed (or at least useful). For example, what if you want
a resizable array that can be reduced to (or starts at) size zero?
--
Rainer Deyke (root at rainerdeyke.com)
Shareware computer games - http://rainerdeyke.com
"In ihren Reihen zu stehen heisst unter Feinden zu kaempfen" - Abigor
More information about the Python-list
mailing list