davidm / luacom

Microsoft Component Object Model (COM) binding for Lua
http://lua-users.org/wiki/LuaCom
Other
116 stars 51 forks source link

use smart pointers #5

Open davidm opened 12 years ago

davidm commented 12 years ago

Numerous COM_RELEASE's could be done automatically by smart pointers/RAII. This will help avoid bugs like https://github.com/davidm/luacom/pull/4 and the ugly try/catch blocks.