Re: [racket] CFRunLoopGetMain on Os X

2012-12-08 Thread Eric Dobson
I had looked at the module and the problem was that even requiring it started the gui stuff, but taking a closer look I found a solution. (module helper racket/base (module inner-helper racket/base (require ffi/unsafe) (require mred/private/wx/common/once) (void (scheme_register_proc

Re: [racket] CFRunLoopGetMain on Os X

2012-12-08 Thread Matthew Flatt
I think you mostly want `mred/private/wx/cocoa/queue', but some refactoring or parameterization may be needed to get it in the right form. At Sat, 8 Dec 2012 01:44:54 -0800, Eric Dobson wrote: > I'm trying to do some OS X programming and one of the api's I'm using > requires a CFRunLoop. Using CFR

[racket] CFRunLoopGetMain on Os X

2012-12-08 Thread Eric Dobson
I'm trying to do some OS X programming and one of the api's I'm using requires a CFRunLoop. Using CFRunLoopGetMain works fine if I require racket/gui/base, but not otherwise (The loop does not seem to be running). The problem with this is that this starts up a gui application in the dock and change