[luabind] Need some guide for auto-exporting C++ functions with PE export table
Brought to you by:
arvidn,
daniel_wallin
From: ZaeX <za...@gm...> - 2011-12-13 08:59:46
|
Hi, all: Recently I read the Game Programming Gems series and learned the idea that we could analyze the exe's export table to extract the function and class information, so we could *automatically* export them to Lua. ( In the original article, they export the functions to console, not Lua ) Well, now I am almost done with parsing the export table part, and get the function names and arguments...And I'm kinda of confused how I should go on. Before I started, I thought I should use Lua C API to export functions & classes, and I can expect kind of hard work ahead... and now I find that there is Luabind and some likes around, I wonder if they could help ease my work. Any information will be helpful, thanks in advance; -- Time is mana. Use it wisely. |