Функциональность C++ extern-C для языков, отличных от C.C++

Программы на C++. Форум разработчиков
Anonymous
Функциональность C++ extern-C для языков, отличных от C.

Сообщение Anonymous »


As it is known, declaring extern "C" to C++ function makes its name have C linkage, enabling C code to link.

My question is - are there other programming languages we can make C++ function names have linkage to, something like extern "Lisp" or extern "FORTRAN"?

If not, why? What is the internal structure behind the "C", that makes the limitations?

What are the alternatives?


Источник: https://stackoverflow.com/questions/214 ... her-than-c

Вернуться в «C++»