Crystal Space: 4.18.1 The iScript Interface

[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

### 4.18.1 The iScript Interface

The ``iScript'` interface is used from C++ code to access parts of scripting language interpreters. It enables one to create and destroy variables and set and get their values, call subroutines, create and destroy objects and set and get their properties and call their methods.

Interface calls which call script functions and methods take a variable length argument list specified with a printf-style format string. Supported types are: ``int'`, ``float'`, ``double'`, ``string'` and script object.

The ``iScript'` interface is defined in ``ivaria/script.h'`, and documented in the Public API Reference.

[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ]

This document was generated using texi2html 1.76.