E
elathan
Hello!
Can I export a function such as qsort() of the Linux stdlib to a Ruby method. qsort()
takes a C function pointer as a parameter.
I guess that a similiar behaviour can be achieved using blocks. Is it the right way to
procceed?
Any hints will be appreciated
Regards,
Elias
PS. qsort() is an example, I am not trying to export qsort to Ruby.
Can I export a function such as qsort() of the Linux stdlib to a Ruby method. qsort()
takes a C function pointer as a parameter.
I guess that a similiar behaviour can be achieved using blocks. Is it the right way to
procceed?
Any hints will be appreciated
Regards,
Elias
PS. qsort() is an example, I am not trying to export qsort to Ruby.