Re: function to check if a symbol in a library exists or not

  • From: Cosmin Apreutesei <cosmin.apreutesei@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Mon, 30 Jul 2012 13:50:28 +0300

> Couldn't you just call dlsym and check for a nil result?

That's what the check() function does, albeit in a portable fashion.

Other related posts: