Hi I'm still working through the SDL module - please find attached my latest diff file for documentation. As well as adding things I've also fixed a few minor typos and added some examples in places. I noticed that SDL.get_key_state() refers to SDL.pump_events() but that method isn't in the SDL.cmod file. I took the liberty of adding it as it's a simple C function to call (no args and no return value). Hope that's OK - I've tested it and it works fine on my system. Thanks & best wishes, larcky
Hi I'm still working through the SDL module - please find attached my latest diff file for documentation. As well as adding things I've also fixed a few minor typos and added some examples in places. I noticed that SDL.get_key_state() refers to SDL.pump_events() but that method isn't in the SDL.cmod file. I took the liberty of adding it as it's a simple C function to call (no args and no return value). Hope that's OK - I've tested it and it works fine on my system.
Thanks.
Looks ok. I've committed it into Pike 7.9.
Some minor issues that I've fixed in a later commit:
* @example doesn't imply mono-space. Use @code/@endcode to mark the start and end of the example code.
* @[] (aka @ref{@}) is only to be used for valid Pike symbols. If you want monospace font, use @tt{@}.
* We attempt to keep Pike's source code lines shorter than 79 characters. Please add line breaks at appropriate places.
Thanks again.
Thanks & best wishes, larcky
/grubba
pike-devel@lists.lysator.liu.se