Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
766 B

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