OSDN Git Service

3190c67064a2e6c52ba09eccbaa6b362e263e372
[unagi/old-svn-converted.git] / client / trunk / anago / script_common.h
1 #ifndef _SCRIPT_COMMON_H_
2 #define _SCRIPT_COMMON_H_
3 struct range{
4         long start, end;
5 };
6 SQInteger script_nop(HSQUIRRELVM v);
7 SQInteger range_check(HSQUIRRELVM v, const char *name, long target, const struct range *range);
8 SQInteger cpu_write_check(HSQUIRRELVM v);
9 SQInteger script_require(HSQUIRRELVM v);
10
11 struct reader_handle;
12 struct reader_memory_access;
13 bool connection_check(const struct reader_handle *h, const struct textcontrol *text, const struct reader_memory_access *cpu, const struct reader_memory_access *ppu);
14 #endif