Change calling conventions
git-svn-id: svn://svn.cc65.org/cc65/trunk@1321 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -132,8 +132,10 @@ unsigned char cbm_save(const char* name, unsigned char device,
|
|||||||
* below).
|
* below).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
unsigned char cbm_open(unsigned char lfn, unsigned char device,
|
unsigned char __fastcall__ cbm_open (unsigned char lfn,
|
||||||
unsigned char sec_addr, const char* name);
|
unsigned char device,
|
||||||
|
unsigned char sec_addr,
|
||||||
|
const char* name);
|
||||||
/* Opens a file. Works just like the BASIC command.
|
/* Opens a file. Works just like the BASIC command.
|
||||||
* Returns 0 if opening was successful, otherwise an errorcode (see table
|
* Returns 0 if opening was successful, otherwise an errorcode (see table
|
||||||
* below).
|
* below).
|
||||||
@@ -142,7 +144,7 @@ unsigned char cbm_open(unsigned char lfn, unsigned char device,
|
|||||||
void __fastcall__ cbm_close (unsigned char lfn);
|
void __fastcall__ cbm_close (unsigned char lfn);
|
||||||
/* Closes a file */
|
/* Closes a file */
|
||||||
|
|
||||||
int cbm_read(unsigned char lfn, void* buffer, unsigned int size);
|
int __fastcall__ cbm_read (unsigned char lfn, void* buffer, unsigned int size);
|
||||||
/* Reads up to "size" bytes from a file to "buffer".
|
/* Reads up to "size" bytes from a file to "buffer".
|
||||||
* Returns the number of actually read bytes, 0 if there are no bytes left
|
* Returns the number of actually read bytes, 0 if there are no bytes left
|
||||||
* (EOF) or -1 in case of an error. _oserror contains an errorcode then (see
|
* (EOF) or -1 in case of an error. _oserror contains an errorcode then (see
|
||||||
|
|||||||
Reference in New Issue
Block a user