Call a foreign-language function: Difference between revisions

→‎{{header|TXR}}: New section.
(Added Kotlin)
(→‎{{header|TXR}}: New section.)
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).
<!-- TODO: a basic thunk, and show off using SWIG -->
 
=={{header|TXR}}==
 
=={{header|zkl}}==
543

edits