Re: freefunc - name clash with Python.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/14/2020 2:54 AM, Dr. Matthias St. Pierre wrote:
I don't see any reason to change our code, IMHO the clash is Python's fault: it declares a global typedef with a short name that has no python-specific prefix.

That is indeed rude, but the symbol could equally well have been introduced by the application's header file rather than a library header file, or the application could be compiled with -Dfreefunc=xxx.

Supplying names for the arguments in function prototypes makes them easier to read, but risks namespace problems.
-- 
Jordan Brown, Oracle ZFS Storage Appliance, Oracle Solaris

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux