-
you say things,
I hear,
but don't listen,
you show things,
I see,
but don't understand,
you write things,
I read,
but don't know.
Lately we have been working on cleaning up the XS name spaces of SDL perl. After some bumps and falls we came up with a separated Rect module. Rect is one of the most simple C struct as shown below.
Using the awesome
perlobject.map as a reference I was able to create a
blessed perl object in
XS. So now SDL::Rect->new(...) gave us a blessed reference ready to go. And as an icing it would destroy itself properly no matter where it was used. But once I brought it into our existing code base, garu pointed out the extending it was a little bit of a mess. So far to extend Rect we have to something like below. Any comment or advice would be much appreciated.
Have at it I am a big boy. You can grab the code like this.
Only If you don't already have a local git repo:
mkdir SDL
cd SDL
git init .
Then do this or skip to this if you already have a local git repo
git pull git://github.com/kthakore/SDL_perl.git experimental
+
+SDL Manual: Reviewers Needed
+
+
+Work has begun on the 4th chapter of the SDL Manual. The code is on
github, and I regularly update the
pdf on our server.
+
+Writing manuals is not of my greatest skills, so I would love some review of my work. Any problems can be reported in the
issues.
+
+If you want to help with writing the manual, please join me on #sdl irc.perl.org or email us at
+sdl-devel@perl.org
+
+--yapgh
+
+