2 ms·
It is a regular .so (what I assume you mean by "C library"), not a "black box that looks like a regular .so". There's no runtime wrapped around your code like
by _-___________-_ 6y ago
It is a regular .so (what I assume you mean by "C library"), not a "black box that looks like a regular .so".
There's no runtime wrapped around your code like with Go etc. You just need to add an attribute to tell the compiler not to mangle your names, similar to what's needed for C++ / C interop.