embedding_squirrel.rst 1.1 KB

123456789101112131415161718192021222324252627282930
  1. .. _embedding_squirrel:
  2. ***************************
  3. Embedding Squirrel
  4. ***************************
  5. *This section describes how to embed Squirrel in a host application,
  6. C language knowledge is required to understand this part of the manual.*
  7. Because of his nature of extension language, Squirrel's compiler and virtual machine
  8. are implemented as C library. The library exposes a set of functions to compile scripts,
  9. call functions, manipulate data and extend the virtual machine.
  10. All declarations needed for embedding the language in an application are in the header file 'squirrel.h'.
  11. .. toctree::
  12. embedding/memory_management.rst
  13. embedding/build_configuration.rst
  14. embedding/error_conventions.rst
  15. embedding/vm_initialization.rst
  16. embedding/the_stack.rst
  17. embedding/runtime_error_handling.rst
  18. embedding/compiling_a_script.rst
  19. embedding/calling_a_function.rst
  20. embedding/creating_a_c_function.rst
  21. embedding/tables_and_arrays_manipulation.rst
  22. embedding/userdata_and_userpointers.rst
  23. embedding/the_registry_table.rst
  24. embedding/references_from_c.rst
  25. embedding/debug_interface.rst