[fpc-pascal] libQT4Pas - Why it is needed?

Vladimir Zhirov vvzh.lists at gmail.com
Wed Feb 1 21:02:38 CET 2012


> Do other languages like python use the plain c interface, or
> C++?
> how about something like ruby, lua, objective C, php ..

AFAIK, Lua uses automatically generated plain C binding.
When I looked at it, the binding generator consisted of
the following parts: 
1) A C++-based program to parse C++ source and extract
   required information as XML;
2) A Lua program to build plain C binding based on this XML
3) A CMake scripts to manage building of the above parts
   and generated binding itself.

The corresponding source code is hosted here:
https://github.com/mkottman/lqt



More information about the fpc-pascal mailing list