Re: Wrapping variable argument functions



On Wed, 2008-02-06 at 14:32 -0500, José Alburquerque wrote:
> Hi.  I have a general question about gmmproc:  Can it wrap methods with 
> variable arguments?  For example would  _WRAP_METHOD(void method(int 
> field1, ...), c_function) work if the c_function accepts the same 
> variable argument list as the method?  Thanks.

No. These are generally convenience functions for C, which usually
repeatedly call other functions that we do wrap. We don't generally
want ... arguments in C++ because they are not at all type-safe.

-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]