ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

lmem.h File Reference

#include "common/scummsys.h"
Include dependency graph for lmem.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Grim

Defines

#define codeEM   "code size overflow"
#define constantEM   "constant table overflow"
#define refEM   "reference table overflow"
#define tableEM   "table overflow"
#define memEM   "not enough memory"
#define luaM_free(b)   free((b))
#define luaM_malloc(t)   malloc((t))
#define luaM_new(t)   ((t *)malloc(sizeof(t)))
#define luaM_newvector(n, t)   ((t *)malloc((n) * sizeof(t)))
#define luaM_growvector(old, n, t, e, l)   (luaM_growaux((void**)old, n, sizeof(t), e, l))
#define luaM_reallocvector(v, n, t)   ((t *)realloc(v,(n) * sizeof(t)))

Functions

void * Grim::luaM_realloc (void *block, int32 size)
int32 Grim::luaM_growaux (void **block, int32 nelems, int32 size, const char *errormsg, int32 limit)

Define Documentation

#define codeEM   "code size overflow"

Definition at line 14 of file lmem.h.

#define constantEM   "constant table overflow"

Definition at line 15 of file lmem.h.

#define luaM_free (   b  )     free((b))

Definition at line 23 of file lmem.h.

#define luaM_growvector (   old,
  n,
  t,
  e,
  l 
)    (luaM_growaux((void**)old, n, sizeof(t), e, l))

Definition at line 27 of file lmem.h.

#define luaM_malloc (   t  )     malloc((t))

Definition at line 24 of file lmem.h.

#define luaM_new (   t  )     ((t *)malloc(sizeof(t)))

Definition at line 25 of file lmem.h.

#define luaM_newvector (   n,
  t 
)    ((t *)malloc((n) * sizeof(t)))

Definition at line 26 of file lmem.h.

#define luaM_reallocvector (   v,
  n,
  t 
)    ((t *)realloc(v,(n) * sizeof(t)))

Definition at line 28 of file lmem.h.

#define memEM   "not enough memory"

Definition at line 18 of file lmem.h.

#define refEM   "reference table overflow"

Definition at line 16 of file lmem.h.

#define tableEM   "table overflow"

Definition at line 17 of file lmem.h.



Generated on Sat Nov 9 2019 05:01:12 for ResidualVM by doxygen 1.7.1
curved edge   curved edge