29 #if !defined(INCLUDED_AILIA_CALL)
30 #define INCLUDED_AILIA_CALL
34 #if defined(_WIN32) && !defined(_WIN64)
35 #define AILIA_USER_API __stdcall
37 #define AILIA_USER_API
41 #define AILIA_FSIZE_RETURN_TYPE int
43 #define AILIA_FSIZE_RETURN_TYPE long long
56 #define AILIA_USER_API_SUCCESS (0)
66 #define AILIA_USER_API_FAILED (-1)
203 #define AILIA_FILE_CALLBACK_VERSION (1)
#define AILIA_USER_API
Definition: ailia_call.h:37
AILIA_FSIZE_RETURN_TYPE(AILIA_USER_API * AILIA_USER_API_FTELL)(void *)
Gets the current position in the file.
Definition: ailia_call.h:135
AILIA_FSIZE_RETURN_TYPE(AILIA_USER_API * AILIA_USER_API_FSIZE)(void *)
Gets the size of the file.
Definition: ailia_call.h:152
#define AILIA_FSIZE_RETURN_TYPE
Definition: ailia_call.h:43
void *(AILIA_USER_API * AILIA_USER_API_FOPEN)(const void *)
Opens a file.
Definition: ailia_call.h:99
int(AILIA_USER_API * AILIA_USER_API_FREAD)(void *, AILIA_FSIZE_RETURN_TYPE, void *)
Reads data from the file.
Definition: ailia_call.h:175
struct _ailiaFileCallback ailiaFileCallback
int(AILIA_USER_API * AILIA_USER_API_FSEEK)(void *, AILIA_FSIZE_RETURN_TYPE)
It seeks the file specified.
Definition: ailia_call.h:118
int(AILIA_USER_API * AILIA_USER_API_FCLOSE)(void *)
Closes the file.
Definition: ailia_call.h:192
Definition: ailia_call.h:206
AILIA_USER_API_FTELL ftell
Definition: ailia_call.h:209
AILIA_USER_API_FOPEN fopen
Definition: ailia_call.h:207
AILIA_USER_API_FSIZE fsize
Definition: ailia_call.h:211
AILIA_USER_API_FREAD fread
Definition: ailia_call.h:210
AILIA_USER_API_FCLOSE fclose
Definition: ailia_call.h:212
AILIA_USER_API_FSEEK fseek
Definition: ailia_call.h:208