aboutsummaryrefslogtreecommitdiff
path: root/build/android
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2020-04-11 20:03:59 +0200
committerGitHub <noreply@github.com>2020-04-11 20:03:59 +0200
commit40df3931d882daaeee42c8de69882b9f9df5c312 (patch)
treeac8b12c279a164ea619788192494f8ff63da2060 /build/android
parent5cc06e4748a82acb36310fee89e72f30b2b35a36 (diff)
downloadminetest-40df3931d882daaeee42c8de69882b9f9df5c312.tar.gz
minetest-40df3931d882daaeee42c8de69882b9f9df5c312.tar.bz2
minetest-40df3931d882daaeee42c8de69882b9f9df5c312.zip
Implement DPI scaling for Windows (#9586)
Diffstat (limited to 'build/android')
0 files changed, 0 insertions, 0 deletions
d='n110' href='#n110'>110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
/*
** $Id: llimits.h,v 1.69.1.1 2007/12/27 13:02:25 roberto Exp $
** Limits, basic types, and some other `installation-dependent' definitions
** See Copyright Notice in lua.h
*/

#ifndef llimits_h
#define llimits_h


#include <limits.h>
#include <stddef.h>


#include "lua.h"


typedef LUAI_UINT32 lu_int32;

typedef LUAI_UMEM lu_mem;

typedef LUAI_MEM l_mem;



/* chars used as small naturals (so that `char' is reserved for characters) */
typedef unsigned char lu_byte;


#define MAX_SIZET	((size_t)(~(size_t)0)-2)

#define MAX_LUMEM	((lu_mem)(~(lu_mem)0)-2)


#define MAX_INT (INT_MAX-2)  /* maximum value of an int (-2 for safety) */

/*
** conversion of pointer to integer
** this is for hashing only; there is no problem if the integer
** cannot hold the whole pointer value
*/
#define IntPoint(p)  ((unsigned int)(lu_mem)(p))