mirror of
https://github.com/jorio/Pomme.git
synced 2024-12-27 06:29:18 +00:00
Fix SetFPos signature
This commit is contained in:
parent
766d4ddc1b
commit
8fb5ed8e1b
@ -351,9 +351,9 @@ OSErr GetFPos(short refNum, long* filePos)
|
||||
return noErr;
|
||||
}
|
||||
|
||||
OSErr SetFPos(short refNum, long filePos)
|
||||
OSErr SetFPos(short refNum, short posMode, long filePos)
|
||||
{
|
||||
TODO();
|
||||
TODOFATAL();
|
||||
return unimpErr;
|
||||
}
|
||||
|
||||
|
@ -66,7 +66,7 @@ OSErr SetEOF(short refNum, long logEOF);
|
||||
|
||||
OSErr GetFPos(short refNum, long* filePos);
|
||||
|
||||
OSErr SetFPos(short refNum, long filePos);
|
||||
OSErr SetFPos(short refNum, short posMode, long filePos);
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Resource file management
|
||||
|
@ -11,6 +11,16 @@ enum EFSPermissions
|
||||
fsRdWrPerm = 3,
|
||||
};
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Position mode constants
|
||||
|
||||
enum {
|
||||
fsAtMark = 0,
|
||||
fsFromStart = 1,
|
||||
fsFromLEOF = 2,
|
||||
fsFromMark = 3
|
||||
};
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Folder types
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user