|
Post by angros47 on Jun 24, 2011 7:58:11 GMT -5
In FreeBasic, with SWIG, converting C headers to FB headers is possible in a very quick way.
Is there any way to do the same for Basic4GL?
After all, from a simple .h file, all function names could be extracted, converted into func_??? (i.e. int foo could be converted into func_foo), parameter list can be added, and the original function can be called.
Also, they can be added to the Load function.
So, creating plugin from libraries with a lot of function could be faster.
|
|
|
Post by matthew on Jun 25, 2011 15:19:27 GMT -5
Currently I don't know of any automated way to do that for Basic4GL. But maybe someone could take a look at the SWIG site & develop a solution.
|
|
lal7777
Posts
if all.knowledge = orange then: seed = mankind.knowledge: grow(seed,time): endif
Posts: 88
|
Post by lal7777 on Jun 25, 2011 16:06:21 GMT -5
Just take the source code and make it the way you want it to be lol.
|
|