summaryrefslogtreecommitdiff
path: root/llimits.h
diff options
context:
space:
mode:
Diffstat (limited to 'llimits.h')
-rw-r--r--llimits.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/llimits.h b/llimits.h
index 9acea06d..ae24db35 100644
--- a/llimits.h
+++ b/llimits.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: llimits.h,v 1.45 2002/07/08 20:22:08 roberto Exp roberto $ 2** $Id: llimits.h,v 1.46 2002/10/08 18:46:08 roberto Exp roberto $
3** Limits, basic types, and some other `installation-dependent' definitions 3** Limits, basic types, and some other `installation-dependent' definitions
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -77,9 +77,18 @@ typedef unsigned char lu_byte;
77 77
78/* type to ensure maximum alignment */ 78/* type to ensure maximum alignment */
79#ifndef LUSER_ALIGNMENT_T 79#ifndef LUSER_ALIGNMENT_T
80#define LUSER_ALIGNMENT_T double 80typedef union { double u; void *s; long l; } L_Umaxalign;
81#else
82typedef LUSER_ALIGNMENT_T L_Umaxalign;
83#endif
84
85
86/* result of `usual argument convertion' over lua_Number */
87#ifndef LUA_UACNUMBER
88typedef double l_uacNumber;
89#else
90typedef LUA_UACNUMBER l_uacNumber;
81#endif 91#endif
82union L_Umaxalign { LUSER_ALIGNMENT_T u; void *s; long l; };
83 92
84 93
85#ifndef lua_assert 94#ifndef lua_assert