[cairo-commit] rcairo/src .cvsignore,NONE,1.1 cairo.c,1.1,1.2 image.c,1.1,1.2 shared.h,1.1,1.2
Evan Martin
commit at pdx.freedesktop.org
Tue Oct 28 15:31:09 PST 2003
Committed by: martine
Update of /cvs/cairo/rcairo/src
In directory pdx:/tmp/cvs-serv1318/src
Modified Files:
cairo.c image.c shared.h
Added Files:
.cvsignore
Log Message:
Those last-minute changes in my first commit caused it not to compile.
I fixed those, and added generation code for all the enums while I was at it.
Also: copyrights everywhere (not sure how useful that is, really, because
I haven't specified a license yet), and updated the spline demo to use round
caps (which is what I needed the enums for).
--- NEW FILE: .cvsignore ---
Makefile
gen-*.c
Index: cairo.c
===================================================================
RCS file: /cvs/cairo/rcairo/src/cairo.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** cairo.c 28 Oct 2003 18:27:22 -0000 1.1
--- cairo.c 28 Oct 2003 23:31:06 -0000 1.2
***************
*** 160,163 ****
--- 160,165 ----
mCairo = rb_define_module("Cairo");
+ constants_init();
+
cCairo = gen_Cairo();
rb_define_singleton_method(cCairo, "new", rcairo_rcairo_new, 0);
Index: image.c
===================================================================
RCS file: /cvs/cairo/rcairo/src/image.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** image.c 28 Oct 2003 18:27:22 -0000 1.1
--- image.c 28 Oct 2003 23:31:06 -0000 1.2
***************
*** 1,3 ****
! /* vim: set ts=4 sw=4 noet : */
#include "shared.h"
--- 1,7 ----
! /* ruby-cairo - Ruby bindings for Cairo.
! * Copyright (C) 2003 Evan Martin <martine at danga.com>
! *
! * vim: tabstop=4 shiftwidth=4 noexpandtab :
! */
#include "shared.h"
Index: shared.h
===================================================================
RCS file: /cvs/cairo/rcairo/src/shared.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** shared.h 28 Oct 2003 18:27:22 -0000 1.1
--- shared.h 28 Oct 2003 23:31:06 -0000 1.2
***************
*** 10,13 ****
--- 10,14 ----
void xlib_init();
void cairo_xlib_init(void);
+ void constants_init(void);
extern VALUE mCairo, cCairo, cCairoSurface, cCairoMatrix, cCairoImage;
More information about the cairo-commit
mailing list