Call a function in a shared library: Difference between revisions

m
→‎{{header|Go}}: Corrected typo.
(Added Go)
m (→‎{{header|Go}}: Corrected typo.)
Line 816:
{{works with|Ubuntu 18.04}}
<br>
Dynamically calling a function from a shared library can only be accomplished in Go using 'cgo' and, even then, the function pointer returned by 'dlsysmdlsym' can only be called via a C bridging function as calling C function pointers directly from Go is not currently supported.
 
This is the C code to produce fakeimglib.so:
Line 884:
<pre>
Same as C entry.
</pre>
 
=={{header|Haskell}}==
9,476

edits