static runtime functions

View: New views
1 Messages — Rating Filter:   Alert me  

static runtime functions

by twd :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

When using SWIG with Lua and C++, each of the wrapper files contains all of the static SWIG runtime functions. This seems to be redundant and creates large object files. Is there a way to have SWIG create the wrapper files without the static runtime functions, and then include the necessary (non-static) functions from a header file? I understand that it is possible to create a header with the external runtimes, but again these are static. What is the reason for this?
Thanks.