Re: [pygccxml-development] mdecl and methods that return values
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2006-05-30 17:14:27
|
On 5/30/06, Allen Bierbaum <al...@vr...> wrote: > Roman Yakovenko wrote: > > > On 5/30/06, Allen Bierbaum <al...@vr...> wrote: > > > >> I just ran into an interesting limitation on the current API. > >> > >> Namely, when you call methods on mdecl_wrappers and those methods return > >> decls for further processing, the return values are ignored. > >> > >> I ran into in the following case: > >> > >> my_class = my_namespace["MyClass"] > >> my_class["mymethod"].exclude() > > > > > > exclude does not have return value > > The part that causes the problem is the return from ["mymethod"]. It > doesn't return anything, so the code above ends up calling exclude() on > NoneType. I will check this and will try to fix. -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |