3 Jan
2009
3 Jan
'09
2:46 a.m.
Alexander Belopolsky wrote:
4. Should exported symbols be always declared in headers or is it ok to just declare them as extern in .c files where they are used?
Is the concern that moving them to a header makes them part of the API?
In other words, does replacing
PyObject *
PyFile_FromString(char *name, char *mode)
{
extern int fclose(FILE *);
...
}
with
#include