adonthell-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Adonthell-devel] More Python stuff committed


From: Kai Sterker
Subject: [Adonthell-devel] More Python stuff committed
Date: Tue, 2 Dec 2003 15:35:51 +0100

Since notifications to adonthell-commits are still not working, I'll try to keep you up-to-date via the devel list, whenever I add something new to CVS.

This time, it have been basic Python things the event system will depend upon. script.cc/.h is the former py_object, with only a few changes. method.cc/.h is a wrapper around a single Python method; the callback that will be connected to events. I've added this class to move most Python related code from the event to the python module. It also helps saving and loading callbacks connected to events. And finally, there's pool.cc/.h, which is just that: a cache for python scripts, so that only one instance of them needs to be kept in memory.

Now I can move on to events. For that, I'll also add the zlib wrappers to v0.4. They are quite useful, espacially when it comes to endian-independent loading/saving. So I don't think that anything needs to be changed in the way we handled that area in v0.3. But please correct me if I'm wrong!

Kai





reply via email to

[Prev in Thread] Current Thread [Next in Thread]