3 ms·
well, not a standard one. That's what extern "C" is for : if you want a standardized API, C always had one.
by roblabla 11y ago
well, not a standard one. That's what extern "C" is for : if you want a standardized API, C always had one.
- deleted 11y ago[deleted]
- gpderetta 11y agoNeither C nor C++ have a standardized ABI, if by standardized you mean part of their respective ISO standard. Nor they could, as the many of ABI properties (names, calling conventions, layout, object and executable file format) are intimately platform (as in OS and CPU) specific. Most platform officially specify their C ABI, and many also specify their C++ ABI (usually in therm of the C one). Itanium C++ ABI (plus the platform specific psABIs) has become the de facto C++ ABI for many unix and unix-like platforms.