I am wondering how to hook variadic function. For example int printf(char const* const format, ...) in the standard library or VALUE rb_funcall(VALUE, ID, int, ...) in the ruby c api.
There is no such examples in the test.
Is it even possible to do this?
Hi,
I am wondering how to hook variadic function. For example
int printf(char const* const format, ...)
in the standard library orVALUE rb_funcall(VALUE, ID, int, ...)
in the ruby c api. There is no such examples in the test. Is it even possible to do this?Thanks, Han