You.i Engine
YiPredefAndroid.h File Reference
#include <algorithm>
#include <cfloat>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <cctype>
#include <fstream>
#include <iostream>
#include <iterator>
#include <list>
#include <map>
#include <queue>
#include <sstream>
#include <stack>
#include <unistd.h>
#include <vector>
#include <wchar.h>

Go to the source code of this file.

Macros

#define YI_SYSTEM_FREE(a)   free(a)
 
#define YI_SYSTEM_MALLOC(a)   malloc(a)
 
#define YI_SYSTEM_REALLOC(a, b)   realloc(a, b)
 
#define YI_MEMCMP(a, b, c)   memcmp(a, b, c)
 
#define YI_MEMMOVE(a, b, c)   memmove(a, b, c)
 
#define YI_MEMCOPY(a, b, c)   memcpy(a, b, c)
 
#define YI_MEMSET(a, b, c)   memset(a, b, c)
 
#define YI_STRCAT(a, b)   strcat(a, b)
 
#define YI_STRCHR(a, b)   strchr(a, b)
 
#define YI_STRCMP(a, b)   strcmp(a, b)
 
#define YI_STRCPY(a, b)   strcpy(a, b)
 
#define YI_STRUP(a)   strdup(a)
 
#define YI_STRLEN(a)   strlen(a)
 
#define YI_STRREV(a)   STRREV(a)
 
#define YI_STRNCMP(a, b, c)   strncmp(a, b, c)
 
#define YI_STRNICMP(a, b, c)   strncmp(a, b, c)
 
#define YI_STRNCAT(a, b, c)   strncat(a, b, c)
 
#define YI_STRNCPY(a, b, c)   strncpy(a, b, c)
 
#define YI_STRRCHR(a, b)   strrchr(a, b)
 
#define YI_STRTOUL(a, b, c)   strtoul(a, b, c)
 
#define YI_VSNPRINTF(a, b, c, d)   vsnprintf(a, b, c, d)
 
#define YI_STRICMP(a, b)   strcmp(a, b)
 
#define YI_SPRINTF   sprintf
 
#define YI_SNPRINTF   snprintf
 
#define YI_ATOI(a)   atoi(a)
 
#define YI_ATOF(a)   atof(a)
 
#define YI_WCSCPY(a, b)   wcscpy( a, b)
 
#define YI_WCSNCPY(a, b, c)   wcsncpy( a, b, (size_t)c)
 
#define YI_WCSCAT(a, b)   wcscat( a, b)
 
#define YI_WCSLEN(a)   (int32_t) wcslen(a)
 
#define YI_WCSREV(a)   WCSREV( a)
 
#define YI_WCSCMP(a, b)   wcscmp( a, b)
 
#define YI_WCSNCMP(a, b, c)   wcsncmp( a, b, (size_t)c)
 
#define YI_WCSICMP(a, b)   WCSICMP( a, b)
 
#define YI_WCSNICMP(a, b, c)   WCSNICMP(a, b, (size_t)c)
 
#define YI_WCSNCAT(a, b, c)   wcsncat(a, b, (size_t)c)
 
#define YI_SLEEP(x)   usleep((x)*1000)
 
#define YI_USLEEP(x)   usleep(x)
 
#define YI_FILE   FILE
 
#define YI_FREAD   (int32_t) fread
 
#define YI_FWRITE   fwrite
 
#define YI_FGETC   fgetc
 
#define YI_FPUTC   fputc
 
#define YI_KEYCODE_HOME_BUTTON   0x00000003
 
#define YI_KEYCODE_BACK_BUTTON   0x00000004
 
#define YI_HAS_VIRTUAL_KEYBOARD
 

Typedefs

typedef void * HANDLE