File: embedding_squirrel.rst

package info (click to toggle)
squirrel3 3.1-8.3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,380 kB
  • sloc: cpp: 12,722; ansic: 917; makefile: 316; python: 40
file content (29 lines) | stat: -rw-r--r-- 1,132 bytes parent folder | download | duplicates (7)
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
26
27
28
29
.. _embedding_squirrel:

***************************
  Embedding Squirrel
***************************

*This section describes how to embed Squirrel in a host application,
C language knowledge is required to understand this part of the manual.*

Because of his nature of extension language, Squirrel's compiler and virtual machine
are implemented as C library. The library exposes a set of functions to compile scripts,
call functions, manipulate data and extend the virtual machine.
All declarations needed for embedding the language in an application are in the header file 'squirrel.h'.

.. toctree::
    embedding/memory_management.rst
    embedding/build_configuration.rst
    embedding/error_conventions.rst
    embedding/vm_initialization.rst
    embedding/the_stack.rst
    embedding/runtime_error_handling.rst
    embedding/compiling_a_script.rst
    embedding/calling_a_function.rst
    embedding/creating_a_c_function.rst
    embedding/tables_and_arrays_manipulation.rst
    embedding/userdata_and_userpointers.rst
    embedding/the_registry_table.rst
    embedding/references_from_c.rst
    embedding/debug_interface.rst