Re: Wrapping variable argument functions
- From: Murray Cumming <murrayc murrayc com>
- To: José Alburquerque <jaalburquerque cox net>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: Wrapping variable argument functions
- Date: Wed, 06 Feb 2008 20:44:45 +0100
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]