From: <ka...@ar...> - 2011-09-13 07:35:32
|
Hello, I've a short question if I do understand http://swig.org/Doc1.3/Lua.html correctly: If I use swig, I will not need modify my c-program? only create an additional file / swig module *i . which contains variable input parameters? But what do I need to do, if don't have a so clear structure such as "int gcd(int x, int y);" because in my problem, I've something like that main (int argc, char *argv[]) { ... } Of course in the program there are various code for handling the commandline arguments.... The command and the argument argument at the console looks like: myproc -input ','tmp',' -format ','float',' -output ','tmp_out',' -xsize ',100 Thanks in advance Mariol |