From: Grzegorz A. H. <gr...@te...> - 2002-01-03 17:40:37
|
On Thu, Jan 03, 2002 at 01:03:59AM -0500, Alberto Griggio wrote: > Hello. > I'm glad to see you are so interested to PyAllegro. Somebody has to :) I really like Python, but recently I started reading about Lua, and it's nicer there to implement C libraries, since lua can map directly script globals to C globals. There even is a tool which given a header file creates lua code which "imports" the C lib. Very nice, so I thought about creating such a conversion tool for python, but then I learned about python not mapping C globals :( BTW, if it feels cleaner or at least nicer/easier to implement, remember that Allegro has a few poll_keyboard, poll_mouse, etc, so you could make the python code require to do this, maybe improving runtime speed, since then the user would decide when the python wrapper has to get into the C lib to retrieve the apropiate values. -- Grzegorz Adam Hankiewicz gr...@te... http://gradha.infierno.org/ |