File: raptor-tutorial-intro.xml

package info (click to toggle)
raptor2 2.0.16-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 18,332 kB
  • sloc: ansic: 37,943; xml: 6,783; sh: 4,991; makefile: 2,947; yacc: 2,585; perl: 1,162; lex: 1,091
file content (25 lines) | stat: -rw-r--r-- 742 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" 
               "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
<chapter id="tutorial-initialising-finishing">
<title>Initialising and Finishing using the Library</title>

<para>Raptor requires initialising a raptor_world object before using
any of the classes which take the world object as an argument in
their constructors.  The function to make the world object is
raptor_new_world() and the destructor raptor_free_world().
<programlisting>
  raptor_world* world;
  world = raptor_new_world();
  ...
  raptor_free_world(world);
</programlisting>
</para>

</chapter>

<!--
Local variables:
mode: sgml
sgml-parent-document: ("raptor-docs.xml" "book" "part")
End:
-->