On Thu, Jan 06, 2005 at 06:57:57PM +0900, ts wrote:
>  Each time that you define an interface to a higher language, like ruby,
>  via function pointer you must give the possibility to pass extra argument.
> 
>  This is how you do this, which will make a "good" or a "bad" interface,
>  and this is what the author of 'dl' has forgotten to do, i.e. he has
>  created his own problem :-)) and the use of DLFuncTable is not a good way
>  to solve his problem.

I agree.  A callback system that does not pass back user-supplied
data to the function poorly designed.

However, there are many such systems out there.  Consider the standard C
functions signal and qsort, for example.  DL should be able to wrap
libraries like this.

Paul