[cairo-commit] cairo-5c ChangeLog,1.1.1.1,1.2 init.c,1.1.1.1,1.2
Keith Packard
commit at pdx.freedesktop.org
Fri Dec 10 23:45:44 PST 2004
Committed by: keithp
Update of /cvs/cairo/cairo-5c
In directory gabe:/tmp/cvs-serv12008
Modified Files:
ChangeLog init.c
Log Message:
2004-12-10 Keith Packard <keithp at keithp.com>
* examples/pie.5c:
Add text example
* init.c: (nickle_init):
Set return type of text_extents function correctly
Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo-5c/ChangeLog,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- ChangeLog 11 Dec 2004 06:26:52 -0000 1.1.1.1
+++ ChangeLog 11 Dec 2004 07:45:42 -0000 1.2
@@ -0,0 +1,6 @@
+2004-12-10 Keith Packard <keithp at keithp.com>
+
+ * examples/pie.5c:
+ Add text example
+ * init.c: (nickle_init):
+ Set return type of text_extents function correctly
Index: init.c
===================================================================
RCS file: /cvs/cairo/cairo-5c/init.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- init.c 11 Dec 2004 06:26:52 -0000 1.1.1.1
+++ init.c 11 Dec 2004 07:45:42 -0000 1.2
@@ -139,7 +139,7 @@
" void text_path (foreign cr, string text)\n"
"\n"
" Appends text to current path\n" },
- { do_Cairo_text_extents, "text_extents", "a", "Fs", "\n"
+ { do_Cairo_text_extents, "text_extents", "u", "Fs", "\n"
" text_extents_t text_extents (foreign cr, string text)\n"
"\n"
" Appends text to current path\n" },
@@ -249,6 +249,8 @@
typeTextExtents = NewTypeName (NewExprAtom (AtomId ("text_extents_t"), 0, False),
sym);
+ BuiltinSetUserdefType (typeTextExtents);
+
NamespaceAddName (CairoNamespace, sym, publish_public);
BuiltinFuncsV (&CairoNamespace, funcs_v);
More information about the cairo-commit
mailing list