plugins/include/files.inc
changeset 257 583a23434070
parent 252 ce166c465bad
child 274 959c85596341
     1.1 --- a/plugins/include/files.inc	Mon Jan 01 21:31:09 2007 +0000
     1.2 +++ b/plugins/include/files.inc	Mon Jan 01 21:46:33 2007 +0000
     1.3 @@ -16,6 +16,7 @@
     1.4  	FileType_File = 2,		/* File is a file */
     1.5  };
     1.6  
     1.7 +#define PLATFORM_MAX_PATH		256
     1.8  
     1.9  /**
    1.10   * @brief Opens a directory/folder for contents enumeration.
    1.11 @@ -39,4 +40,4 @@
    1.12   * @return			True on success, false if there are no more files to read.
    1.13   * @error				Invalid or corrupt Handle. 
    1.14   */
    1.15 -native bool:ReadDirEntry(Handle:dir, String:buffer[], maxlength, &FileType:type=0);
    1.16 +native bool:ReadDirEntry(Handle:dir, String:buffer[], maxlength, &FileType:type=FileType_Unknown);