summaryrefslogtreecommitdiff
path: root/src/script/fake_squirrel_types.hpp
blob: ef25008f1fb9fb133dc18c44291dd7da4544908d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* $Id$ */

/** @file fake_squirrel_types.hpp Provides definitions for some squirrel types to prevent including squirrel.h in header files.*/

#ifndef FAKE_SQUIRREL_TYPES_HPP
#define FAKE_SQUIRREL_TYPES_HPP

#ifndef _SQUIRREL_H_
/* Life becomes easier when we can tell about a function it needs the VM, but
 *  without really including 'squirrel.h'. */
typedef struct SQVM *HSQUIRRELVM;  //!< Pointer to Squirrel Virtual Machine.
typedef int SQInteger;             //!< Squirrel Integer.
typedef struct SQObject HSQOBJECT; //!< Squirrel Object (fake declare)
#endif

#endif /* FAKE_SQUIRREL_TYPES_HPP */