Re: [luabind] Re: adopt policy with wrappers bug
Brought to you by:
arvidn,
daniel_wallin
From: Dmitriy I. <ias...@gs...> - 2004-07-28 14:26:26
|
Hello Daniel, Wednesday, July 28, 2004, 3:41:41 PM, you wrote: DW> Daniel Wallin wrote: >> Yeah, that has been fixed this morning. DW> I forgot to say, we changed the name of call_member in wrap_base. It's DW> now named 'call' only. So: DW> struct Awrap : A, wrap_base DW> { DW> virtual void f() DW> { DW> call<void>("f"); // on complient compilers DW> call_member<void>(this, "f"); // on vc6 and maybe some others DW> } DW> }; DW> The second version works on all compilers, so for portability, DW> that's the one to use. thank you, I'll check this today. One more question about call_member inside the wrappers. Since I've already exported virtual function with particular name, why should I specify it one more time when calling call_member? -- Best regards, Dmitriy mailto:ias...@gs... |