From: Gustavo S. B. <gu...@gs...> - 2004-10-07 04:01:46
|
Hello, Tomorrow I'll have an exam so what I started to play with? Yes, you guess= : Python and C++ wrappers! :D I do not plan to code the C++, just started to play with it while I was looking for help with the Python version, they're quite similar, but the python version is more complete... If someone have interest in C++ version, you can follow this code. The Python version is incomplete also, Color, Palette and Video are complete, other are pending. So until now I can't have a simplesdl working, but I hope to have one by next week. It uses classes to represent VisColor, VisPalette and VisVideo and the operations related to them, methods follow C API and I have some aliases set up, like is_depth_supported() -> depth_is_supported(). Errors are translated into exceptions. Every Class/method have its own docstring (python documentation). For the Python wrapper you need the PyRex pre-compiler... Files: http://tux08.ltc.ic.unicamp.br/~gustavo/libvisual-c++.tar.bz2 http://tux08.ltc.ic.unicamp.br/~gustavo/libvisual-python.tar.bz2 --=20 Gustavo Sverzut Barbieri ------------------------------------------ Engenharia de Computa=E7=E3o 2001 - UNICAMP Grupo Pr=F3 Software Livre - UNICAMP Mobile: (19) 9165 8010 Jabber: gsb...@ja... ICQ: 17249123 |