Subject:
[ruby-ffi] Callback Function with varargs
From:
Ole Olson
Date:
2/12/13 4:49 PM
To:
ruby-ffi@googlegroups.com

Hi,

I have to use a callback function with varargs (I already red issue #161).
I cannot avoid this because I cannot change the interface of the C Library.

Do you have any idea, how to solve this problem ?

Maybe define va_list as an parameter and split the elements in the implementation of the callback ?

Thanks for help.

--
 
---
You received this message because you are subscribed to the Google Groups "ruby-ffi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-ffi+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.