Re: FFI, cURL and function callback

  • From: Daurnimator <quae@xxxxxxxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Wed, 27 Mar 2013 15:06:39 -0400

On 27 March 2013 14:52, Dan Eloff <dan.eloff@xxxxxxxxx> wrote:
> I think in cases of conflict with ljsyscall, the easiest solution is rename
> the conflicting symbols. To my understanding anyway, if you need to declare
> an OpenSSL timeval struct, then rename it to ssl_timeval or some such. With
> C the type names aren't mangled into the symbols so it should work fine.
>

Now you don't get interoperation between libraries.
Also most people want to autogenerate their cdef files.

Other related posts: