The Squirrel interpreter. See http://www.squirrel-lang.org/

Dependents:   Squirrel

Committer:
jhnwkmn
Date:
Tue Dec 16 10:20:34 2014 +0000
Revision:
0:97a4f8cc534c
Initial import of Squirrel.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
jhnwkmn 0:97a4f8cc534c 1 /* see copyright notice in squirrel.h */
jhnwkmn 0:97a4f8cc534c 2 #ifndef _SQSTD_STREAM_H_
jhnwkmn 0:97a4f8cc534c 3 #define _SQSTD_STREAM_H_
jhnwkmn 0:97a4f8cc534c 4
jhnwkmn 0:97a4f8cc534c 5 SQInteger _stream_readblob(HSQUIRRELVM v);
jhnwkmn 0:97a4f8cc534c 6 SQInteger _stream_readline(HSQUIRRELVM v);
jhnwkmn 0:97a4f8cc534c 7 SQInteger _stream_readn(HSQUIRRELVM v);
jhnwkmn 0:97a4f8cc534c 8 SQInteger _stream_writeblob(HSQUIRRELVM v);
jhnwkmn 0:97a4f8cc534c 9 SQInteger _stream_writen(HSQUIRRELVM v);
jhnwkmn 0:97a4f8cc534c 10 SQInteger _stream_seek(HSQUIRRELVM v);
jhnwkmn 0:97a4f8cc534c 11 SQInteger _stream_tell(HSQUIRRELVM v);
jhnwkmn 0:97a4f8cc534c 12 SQInteger _stream_len(HSQUIRRELVM v);
jhnwkmn 0:97a4f8cc534c 13 SQInteger _stream_eos(HSQUIRRELVM v);
jhnwkmn 0:97a4f8cc534c 14 SQInteger _stream_flush(HSQUIRRELVM v);
jhnwkmn 0:97a4f8cc534c 15
jhnwkmn 0:97a4f8cc534c 16 #define _DECL_STREAM_FUNC(name,nparams,typecheck) {_SC(#name),_stream_##name,nparams,typecheck}
jhnwkmn 0:97a4f8cc534c 17 SQRESULT declare_stream(HSQUIRRELVM v,const SQChar* name,SQUserPointer typetag,const SQChar* reg_name,SQRegFunction *methods,SQRegFunction *globals);
jhnwkmn 0:97a4f8cc534c 18 #endif /*_SQSTD_STREAM_H_*/