📄 mmap.hhf
字号:
#if( ! @defined( mmap_hhf ))?mmap_hhf := true;#includeOnce( "fileio.hhf" )// mmap-// This class defines a memory-mapped file object.const mmap :text := "mmap_t"; // Deprecated typetype mmap_t: class const private: text := ""; public: text := ""; public var filePtr :dword; endFilePtr :dword; fileSize :dword; private var _handle_ :dword; _filename_ :string; _malloc_ :boolean; _open_ :boolean; _opennew_ :boolean; _padding_ :byte; // Make vars a multiple of 4 bytes public procedure create; @returns( "esi" ); @external( "MMAP_CREATE" ); public method openNew( filename:string; maxSize:dword ); @external( "MMAP_OPENNEW" ); public method open( filename:string; Access:fileio.accessMode ); @external( "MMAP_OPEN" ); public method close; @external( "MMAP_CLOSE" ); public method destroy; @external( "MMAP_DESTROY" ); public method getFileName; @returns( "eax" ); @external( "MMAP_GETFILENAME" ); public method getOpen; @returns( "al" ); @external( "MMAP_GETOPEN" ); public method getMalloc; @returns( "al" ); @external( "MMAP_GETMALLOC" ); endclass;#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -