Tony Garnock-Jones wrote:
> Paolo Bonzini wrote:
>> Seriously, I think we can make a different package
(something like
>> CocoaApp) that does the same things as SDLmain.m
(see
>> http://fisheye
1.cenqua.com/browse/~raw,r=1.1/twin-e/twin-e/SDLMain.m
for
>> the source), and make it a prerequisite of SDL on
Mac OS X.
>
> That is a good idea.
>
> We might want to retain two binaries, though, one with
and one without
> SDL support
The attached proof-of-concept is more similar to what I had
in mind: do
the MacOS-specific stuff in a module, so that we can just
run your
EventSource code (with some contortions) in a separate
process.
The first patch includes the C and ObjC code, the second is
the
modifications that are needed for your demos to work (some
modifications
are because I load Brad's bindings in a separate SDL.LibSDL
namespace).
The main problem I still have is that snapshots don't work
but I don't
have time now to look at it.
Paolo
_______________________________________________
help-smalltalk mailing list
help-smalltalk gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
|