Call a foreign-language function: Difference between revisions
Content added Content deleted
(Added Kotlin) |
(→{{header|TXR}}: New section.) |
||
Line 1,839: | Line 1,839: | ||
Note that we do not show <code>strdup</code> here because Tcl manages the memory for strings in complex ways and does not guarantee to preserve string pointers from one call into the C API to the next (e.g., if it has to apply an encoding transformation behind the scenes). |
Note that we do not show <code>strdup</code> here because Tcl manages the memory for strings in complex ways and does not guarantee to preserve string pointers from one call into the C API to the next (e.g., if it has to apply an encoding transformation behind the scenes). |
||
<!-- TODO: a basic thunk, and show off using SWIG --> |
<!-- TODO: a basic thunk, and show off using SWIG --> |
||
=={{header|TXR}}== |
|||
=={{header|zkl}}== |
=={{header|zkl}}== |