stuff
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@403 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
f9b061aac8
commit
b608931b21
10 changed files with 79 additions and 80 deletions
|
|
@ -7,6 +7,7 @@
|
|||
#define __MW_STRING_H__
|
||||
|
||||
#include <Mw/MachDep.h>
|
||||
#include <Mw/TypeDefs.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
@ -27,6 +28,20 @@ MWDECL char* MwStringDupliacte(const char* str);
|
|||
*/
|
||||
MWDECL char* MwStringConcat(const char* str1, const char* str2);
|
||||
|
||||
/*!
|
||||
* %brief Converts size to string
|
||||
* %param out Output
|
||||
* %param size Size
|
||||
*/
|
||||
MWDECL void MwStringSize(char* out, MwOffset size);
|
||||
|
||||
/*!
|
||||
* %brief Converts time to string
|
||||
* %param out Output
|
||||
* %param t Time
|
||||
*/
|
||||
MWDECL void MwStringTime(char* out, time_t t);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -157,6 +157,7 @@ struct _MwDirectoryEntry {
|
|||
char* name;
|
||||
int type;
|
||||
MwOffset size;
|
||||
time_t mtime;
|
||||
};
|
||||
|
||||
#define MwCursorDataHeight 16
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue