Message21335
Logged In: YES
user_id=31435
Most of Python, and its docs, were written before C89
("Standard C") was required. const is used sporadically as a
result, mostly just in newer code and docs.
Changing examples to use const char * should be fine, as
that is best C practice. Just make sure the examples still
work <wink -- but sticking "const" in has a way of
propagating; e.g., once you have a const char *, you can't
pass it directly to a function taking a (non-const) char *
argument anymore>. |
|
Date |
User |
Action |
Args |
2007-08-23 14:23:02 | admin | link | issue980925 messages |
2007-08-23 14:23:02 | admin | create | |
|