I have used a proxy class to wrap the smart pointer so it can be accessed properly. The solution is still ugly but much less ugly than using .get()
** Patch removed: "3/3: Lua interface for the Bloom plugin. Copyright assigned to Jacek Sieka and stuff xD" https://bugs.launchpad.net/adchpp/+bug/1130835/+attachment/3540965/+files/bloom_lua.patch ** Patch added: "3/3: Lua interface for the Bloom plugin. Copyright assigned to Jacek Sieka and stuff xD" https://bugs.launchpad.net/adchpp/+bug/1130835/+attachment/3541038/+files/bloom_lua.patch -- You received this bug notification because you are a member of Dcplusplus-team, which is subscribed to ADCH++. https://bugs.launchpad.net/bugs/1130835 Title: Allow TTH searchs on the bloom plugin to other plugins Status in ADCH++: New Bug description: It would be very useful to be able to query the BLOOM filters of the users over other plugins (this includes at least lua). The attached patch adds a hasTTH method to the BLOOM plugin interface so other plugins can do this request. I intend to add also an extra lua library for the BLOOM plugin so this information can be requested from the lua interface. To manage notifications about this bug go to: https://bugs.launchpad.net/adchpp/+bug/1130835/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~linuxdcpp-team Post to : linuxdcpp-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~linuxdcpp-team More help : https://help.launchpad.net/ListHelp