Quellcode durchsuchen

* Minor updates to the migration documentation.

tags/v0.99.beta14
Sam Hocevar sam vor 19 Jahren
Ursprung
Commit
8c40eb7a8e
1 geänderte Dateien mit 4 neuen und 2 gelöschten Zeilen
  1. +4
    -2
      doc/migrating.dox

+ 4
- 2
doc/migrating.dox Datei anzeigen

@@ -8,13 +8,14 @@
\section foo1 Overview \section foo1 Overview


The most important changes in the 1.0 API of \e libcaca are the 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 \e libcaca / \e libcucul split and the object-oriented design. See these
you used to do: two examples for a rough idea of what changed:


<table border="0"><tr><td valign="top"> <table border="0"><tr><td valign="top">
\code \code
#include <caca.h> #include <caca.h>


/* libcaca program - 0.x API */
int main(void) int main(void)
{ {
/* Initialise libcaca */ /* Initialise libcaca */
@@ -41,6 +42,7 @@ int main(void)
#include <cucul.h> #include <cucul.h>
#include <caca.h> #include <caca.h>


/* libcaca program - 1.0 API */
int main(void) int main(void)
{ {
/* Initialise libcaca */ /* Initialise libcaca */


||||||
x
 
000:0
Laden…
Abbrechen
Speichern