Anonymous user
Call a function in a shared library: Difference between revisions
Call a function in a shared library (view source)
Revision as of 23:30, 17 April 2009
, 15 years ago→{{header|Smalltalk}}: (prova -> test.png)
(smalltalk) |
m (→{{header|Smalltalk}}: (prova -> test.png)) |
||
Line 92:
=={{header|Smalltalk}}==
{{works with|GNU Smalltalk}}
The code tries to load the <tt>fakeimglib</tt> (cfr [[Call function in shared library#C|C example]]); if it succeed, the symbol <tt>openimage</tt> will exist, and will be called; otherwise, it is executed an "internal" code for <tt>openimage</tt>. In this example return code of the function of the library is ignored (<tt>ValueHolder null</tt>)
Line 108 ⟶ 107:
].
ExtLib openimage: '
|