[cairo-commit] rcairo/src/lib cairo.rb,1.10,1.11

Kouhei Sutou commit at pdx.freedesktop.org
Fri Jan 11 00:03:41 PST 2008


Committed by: kou

Update of /cvs/cairo/rcairo/src/lib
In directory kemper:/tmp/cvs-serv13517/src/lib

Modified Files:
	cairo.rb 
Log Message:
* src/rb_cairo.h:
  - RUBY_XXX -> RB_XXX.
  - added extern "C" {}.
  - added rb_cCairo_QuartzSurface.

* src/cairo.def: rb_cCairo_QuartzSurface.

* src/rb_cairo_surface.c: supported Quartz backend.

* src/lib/cairo.rb: required 'osx/cocoa' if Cairo::QuartzSurface is available.


Index: cairo.rb
===================================================================
RCS file: /cvs/cairo/rcairo/src/lib/cairo.rb,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- cairo.rb	26 May 2007 15:13:25 -0000	1.10
+++ cairo.rb	11 Jan 2008 08:03:39 -0000	1.11
@@ -93,3 +93,7 @@
 require 'cairo/colors'
 require 'cairo/context'
 require 'cairo/path'
+
+if Cairo.const_defined?(:QuartzSurface)
+  require 'osx/cocoa'
+end



More information about the cairo-commit mailing list