> Message: 2 > Date: Sat, 6 Aug 2016 14:27:15 +0900 > From: INADA Naoki <songofacandy at gmail.com> > To: Guido van Rossum <guido at python.org> > Cc: Ned Deily <nad at python.org>, Python-Dev <python-dev at python.org> > Subject: Re: [Python-Dev] C99 > Message-ID: > <CAEfz+Twc9t2pO4zzO3yyfvAPN0aWWV99YnvSjuPSq1=v3Lkt1Q at mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > I think these features may improve C code readability. > (Easy feature first). > > * // one line comment > > * inline function > static inline function can be used instead of may macros. > It is more readable, and type safe. My experience from a few months ago with some cross-platform code is that clang, GCC and MSVC have different ideas about how inline functions in C work. Are they static or extern? Do you need provide an implementation body somewhere? There are also differences between the C++ and C99 definitions. Probably all solvable with build settings, but not as easy as one line comments. -- cheers, Hugh Fisher
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