radare/valabind — pull request #31 by ret2libc (2014-12-11 08:48:32+00:00)
Title: nodeffiwriter: find the right namespace

when you use, for example, SDB.Sdb, nodeffiwriter generates inconsistent code:
in particular, when you use the type it generates something like:
sdb: _.ref(_.SDBSdb)

but when the writer visits the class SDB.Sdb it refers to the it as _.Sdb.
This patch should remove the namespace prefix even when it is different than the namespace in analysis.