Call a function in a shared library: Difference between revisions

Content added Content deleted
(→‎Call uname on Linux: Explain with-dyn-lib.)
m (→‎{{header|zkl}}: remove comment)
Line 1,447: Line 1,447:
BN(1)+2 //--> BN(3)</lang>
BN(1)+2 //--> BN(3)</lang>
and it "just works" as all objects are "the same" whether statically or dynamically linked.
and it "just works" as all objects are "the same" whether statically or dynamically linked.

FFI is supported by another DLL/so. For all but pedantic examples, very ugly (like most FFIs), so no example.