[racket-dev] cairo_recording_surface_create

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Sat Nov 30 22:02:43 EST 2013

At Sun, 1 Dec 2013 01:08:19 +0100, Jens Axel Søgaard wrote:
> Hi All,
> 
> I'd like to add cairo_recording_surface_create to the cairo ffi in
> draw/unsafe/cairo.rkt.
> 
> Adding the line (and just that line)
> 
> (define-cairo cairo_recording_surface_create (_cfun _uint
> _cairo_rectangle_t-pointer -> _cairo_surface_t)
> 
>   #:make-fail make-not-available
> 
>   #:wrap (allocator cairo_surface_destroy)
> 
> will however prevent DrRacket from running.
> 
> It seems to me, that it ought to have worked. 

I agree. What was the error message?



Posted on the dev mailing list.