Call a foreign-language function: Difference between revisions
Content added Content deleted
Line 2,422: | Line 2,422: | ||
}</lang> |
}</lang> |
||
=={{header|Smalltalk}}== |
=={{header|Smalltalk}}== |
||
The way external functions are declared is different among Smalltalk dialects. However, there are not many situations where you'd need them (and especially not for simple things like strdup). |
|||
{{works with | Smalltalk/X}} |
{{works with | Smalltalk/X}} |
||
<lang Smalltalk>Object subclass:'CallDemo'! |
<lang Smalltalk>Object subclass:'CallDemo'! |