Well, the infrastructure, API, and protocols are in. Parrot can now automatically wrap most any C library, generating shims that look like regular parrot subs to parrot, but call into the library for you. Which means that, if you've set things up right, you can do:
loadlib P1, "sdl"
dlfunc P0, P1, "SDL_Init", "ii"
set I5, 255
invoke
unless I5, OK
hcf "SDL_Init failed!"
OK:
print "SDL_Init worked just fine"
exit
Well, OK, except for the hcf part, since exceptions aren't in yet. Soon, though...
Schwing! (Score:2)
--Nat
Re:Schwing! (Score:1)