ScummVM
portdefs.h File Reference
#include <assert.h>
#include <stdarg.h>
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <e32def.h>
#include <e32std.h>
#include <libc\math.h>
Include dependency graph for portdefs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Symbian
 

Macros

#define M_PI   3.14159265358979323846
 
#define SCUMMVM_DONT_DEFINE_TYPES
 
#define GUI_ENABLE_KEYSDIALOG
 
#define DISABLE_COMMAND_LINE
 
#define USE_RGB_COLOR
 
#define snprintf(buf, len, args...)   symbian_snprintf(buf,len,args)
 
#define vsnprintf(buf, len, format, valist)   symbian_vsnprintf(buf,len,format,valist)
 
#define USE_ARM_GFX_ASM
 
#define USE_ARM_SMUSH_ASM
 
#define USE_ARM_COSTUME_ASM
 
#define USE_ARM_SOUND_ASM
 
#define bsearch   scumm_bsearch
 
#define FORBIDDEN_SYMBOL_EXCEPTION_FILE
 
#define FORBIDDEN_SYMBOL_EXCEPTION_fclose
 
#define FORBIDDEN_SYMBOL_EXCEPTION_fopen
 
#define FORBIDDEN_SYMBOL_EXCEPTION_unlink
 
#define FORBIDDEN_SYMBOL_EXCEPTION_getcwd
 
#define FORBIDDEN_SYMBOL_EXCEPTION_stdout
 
#define FORBIDDEN_SYMBOL_EXCEPTION_stderr
 

Typedefs

typedef unsigned char byte
 
typedef unsigned char uint8
 
typedef signed char int8
 
typedef unsigned short int uint16
 
typedef signed short int int16
 
typedef unsigned long int uint32
 
typedef signed long int int32
 
typedef signed long long int64
 
typedef unsigned long long uint64
 

Functions

int symbian_snprintf (char *text, size_t maxlen, const char *fmt,...)
 
int symbian_vsnprintf (char *text, size_t maxlen, const char *fmt, va_list ap)
 
voidscumm_bsearch (const void *key, const void *base, size_t nmemb, size_t size, int(*compar)(const void *, const void *))
 
char * Symbian::GetExecutablePath ()
 

Macro Definition Documentation

◆ bsearch

#define bsearch   scumm_bsearch

Definition at line 180 of file portdefs.h.

◆ DISABLE_COMMAND_LINE

#define DISABLE_COMMAND_LINE

Definition at line 89 of file portdefs.h.

◆ FORBIDDEN_SYMBOL_EXCEPTION_fclose

#define FORBIDDEN_SYMBOL_EXCEPTION_fclose

Definition at line 182 of file portdefs.h.

◆ FORBIDDEN_SYMBOL_EXCEPTION_FILE

#define FORBIDDEN_SYMBOL_EXCEPTION_FILE

Definition at line 181 of file portdefs.h.

◆ FORBIDDEN_SYMBOL_EXCEPTION_fopen

#define FORBIDDEN_SYMBOL_EXCEPTION_fopen

Definition at line 183 of file portdefs.h.

◆ FORBIDDEN_SYMBOL_EXCEPTION_getcwd

#define FORBIDDEN_SYMBOL_EXCEPTION_getcwd

Definition at line 185 of file portdefs.h.

◆ FORBIDDEN_SYMBOL_EXCEPTION_stderr

#define FORBIDDEN_SYMBOL_EXCEPTION_stderr

Definition at line 187 of file portdefs.h.

◆ FORBIDDEN_SYMBOL_EXCEPTION_stdout

#define FORBIDDEN_SYMBOL_EXCEPTION_stdout

Definition at line 186 of file portdefs.h.

◆ FORBIDDEN_SYMBOL_EXCEPTION_unlink

#define FORBIDDEN_SYMBOL_EXCEPTION_unlink

Definition at line 184 of file portdefs.h.

◆ GUI_ENABLE_KEYSDIALOG

#define GUI_ENABLE_KEYSDIALOG

Definition at line 87 of file portdefs.h.

◆ M_PI

#define M_PI   3.14159265358979323846

Definition at line 48 of file portdefs.h.

◆ SCUMMVM_DONT_DEFINE_TYPES

#define SCUMMVM_DONT_DEFINE_TYPES

Definition at line 78 of file portdefs.h.

◆ snprintf

#define snprintf (   buf,
  len,
  args... 
)    symbian_snprintf(buf,len,args)

Definition at line 164 of file portdefs.h.

◆ USE_ARM_COSTUME_ASM

#define USE_ARM_COSTUME_ASM

Definition at line 171 of file portdefs.h.

◆ USE_ARM_GFX_ASM

#define USE_ARM_GFX_ASM

Definition at line 169 of file portdefs.h.

◆ USE_ARM_SMUSH_ASM

#define USE_ARM_SMUSH_ASM

Definition at line 170 of file portdefs.h.

◆ USE_ARM_SOUND_ASM

#define USE_ARM_SOUND_ASM

Definition at line 172 of file portdefs.h.

◆ USE_RGB_COLOR

#define USE_RGB_COLOR

Definition at line 90 of file portdefs.h.

◆ vsnprintf

#define vsnprintf (   buf,
  len,
  format,
  valist 
)    symbian_vsnprintf(buf,len,format,valist)

Definition at line 165 of file portdefs.h.

Typedef Documentation

◆ byte

typedef unsigned char byte

Definition at line 57 of file portdefs.h.

◆ int16

typedef signed short int int16

Definition at line 61 of file portdefs.h.

◆ int32

typedef signed long int int32

Definition at line 63 of file portdefs.h.

◆ int64

typedef signed long long int64

Definition at line 64 of file portdefs.h.

◆ int8

typedef signed char int8

Definition at line 59 of file portdefs.h.

◆ uint16

typedef unsigned short int uint16

Definition at line 60 of file portdefs.h.

◆ uint32

typedef unsigned long int uint32

Definition at line 62 of file portdefs.h.

◆ uint64

typedef unsigned long long uint64

Definition at line 65 of file portdefs.h.

◆ uint8

typedef unsigned char uint8

Definition at line 58 of file portdefs.h.

Function Documentation

◆ scumm_bsearch()

void* scumm_bsearch ( const void key,
const void base,
size_t  nmemb,
size_t  size,
int(*)(const void *, const void *)  compar 
)

Definition at line 188 of file SymbianOS.cpp.

◆ symbian_snprintf()

int symbian_snprintf ( char *  text,
size_t  maxlen,
const char *  fmt,
  ... 
)

Definition at line 718 of file vsnprintf.h.

◆ symbian_vsnprintf()

int symbian_vsnprintf ( char *  text,
size_t  maxlen,
const char *  fmt,
va_list  ap 
)

Definition at line 235 of file vsnprintf.h.