Wizzup?
2010-09-05 15:38:10
I totally revised libMML which will make it more portable and allow other languages to use it. It is still far from finished. Bitmaps and DTMs are missing, and pretty much everything else except basic findColor(Tolerance)(s) and mouse functions. It does allow using multiple TClients though; something the PascalScript wrappers do not.
Arrays from FPC are copied to new mem and then passed to the external language, and it is the task of the external language to free them. The length of the array is passed as a length parameter.
PyMML is still partially a mess but I changed it to work with the new libMML structure. Data returned to findAll() is still just raw data, and I didn't bother to turn this into a Python list just yet. ( I don't even free it yet… ;) ) I may not turn it into a list at all and just fake an array to work around more coyping. (But there will obviously be an option to return it as a list though.)
I also want to change the coding convention that pyMML is using currently, but I'll do this later.
When I write some more code, I'll let you guys know.
Arrays from FPC are copied to new mem and then passed to the external language, and it is the task of the external language to free them. The length of the array is passed as a length parameter.
PyMML is still partially a mess but I changed it to work with the new libMML structure. Data returned to findAll() is still just raw data, and I didn't bother to turn this into a Python list just yet. ( I don't even free it yet… ;) ) I may not turn it into a list at all and just fake an array to work around more coyping. (But there will obviously be an option to return it as a list though.)
I also want to change the coding convention that pyMML is using currently, but I'll do this later.
When I write some more code, I'll let you guys know.