Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Updated mac.rb to use a different param so it would not error out #4

wants to merge 1 commit into from

2 participants


I hope this is a fix and not a hack.


Why haven't you submitted this fix as a pull request upstream?



+1, this works in my environment.


@binford2k Thanks for reminding me to submit this. Bad part is a traded rubygame up for some HTML5/Javascript dark magic ;)

@binford2k binford2k referenced this pull request from a commit in binford2k/twitterpunch
@binford2k binford2k Added simple image slideshow viewer
This will float the images across the screen in popular screensaver
style, with Twitter messages superimposed across the bottom.

This now requires RubyGame and SDL. Installation instructions can be
found at

A small bug in ruby-sdl-ffi on OSX requires the patch at

Bumped version to 0.0.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 15, 2012
  1. @xrs1133
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/ruby-sdl-ffi/sdl/mac.rb
2  lib/ruby-sdl-ffi/sdl/mac.rb
@@ -158,7 +158,7 @@ module ObjC
typedef :pointer, :sel
typedef :pointer, :ivar
typedef :pointer, :nsclass
- callback :imp, [:id, :sel, :varargs], :id
+ callback :imp, [:id, :sel, :ivar], :id
class NSObject < NiceFFI::OpaqueStruct
Something went wrong with that request. Please try again.