From 8c40eb7a8e0f7a027c68f56bb9c778079934ff06 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Sat, 22 Apr 2006 19:35:43 +0000 Subject: [PATCH] * Minor updates to the migration documentation. --- doc/migrating.dox | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/migrating.dox b/doc/migrating.dox index 051898f..6d36650 100644 --- a/doc/migrating.dox +++ b/doc/migrating.dox @@ -8,13 +8,14 @@ \section foo1 Overview The most important changes in the 1.0 API of \e libcaca are the - \e libcaca / \e libcucul split and the object-oriented design. Where - you used to do: + \e libcaca / \e libcucul split and the object-oriented design. See these + two examples for a rough idea of what changed:
\code #include +/* libcaca program - 0.x API */ int main(void) { /* Initialise libcaca */ @@ -41,6 +42,7 @@ int main(void) #include #include +/* libcaca program - 1.0 API */ int main(void) { /* Initialise libcaca */